aboutsummaryrefslogtreecommitdiff
path: root/rootfs/etc/init.d
diff options
context:
space:
mode:
Diffstat (limited to 'rootfs/etc/init.d')
-rw-r--r--rootfs/etc/init.d/00_mounts3
-rw-r--r--rootfs/etc/init.d/10_hostname3
-rw-r--r--rootfs/etc/init.d/10_network3
-rwxr-xr-xrootfs/etc/init.d/rcS9
4 files changed, 9 insertions, 9 deletions
diff --git a/rootfs/etc/init.d/00_mounts b/rootfs/etc/init.d/00_mounts
new file mode 100644
index 0000000..804880c
--- /dev/null
+++ b/rootfs/etc/init.d/00_mounts
@@ -0,0 +1,3 @@
+#!/bin/sh
+# mount all drives in /etc/fstab
+mount -a
diff --git a/rootfs/etc/init.d/10_hostname b/rootfs/etc/init.d/10_hostname
new file mode 100644
index 0000000..064cea2
--- /dev/null
+++ b/rootfs/etc/init.d/10_hostname
@@ -0,0 +1,3 @@
+#!/bin/sh
+# update hostname
+hostname -F /etc/hostname
diff --git a/rootfs/etc/init.d/10_network b/rootfs/etc/init.d/10_network
new file mode 100644
index 0000000..03dc3f8
--- /dev/null
+++ b/rootfs/etc/init.d/10_network
@@ -0,0 +1,3 @@
+#!/bin/sh
+# up all network interfaces
+ifup -a -f
diff --git a/rootfs/etc/init.d/rcS b/rootfs/etc/init.d/rcS
deleted file mode 100755
index b819ce4..0000000
--- a/rootfs/etc/init.d/rcS
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-# core
-mount -a # mount all drives in /etc/fstab
-hostname -F /etc/hostname # update hostname
-
-# system services
-syslogd # system log
-ifplugd # automatically link hot-plugged ethernet connections
-