aboutsummaryrefslogtreecommitdiff
path: root/rootfs/etc/init.d
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-02-07 10:57:17 +0100
committerlonkaars <loek@pipeframe.xyz>2024-02-07 10:57:17 +0100
commit70623600744cab314baf1ccc912134456ffe565d (patch)
tree7e2a64843e91890735f343e51e3687741df61417 /rootfs/etc/init.d
parent86b1f0ef352205029457cc75e525f86aa70239e5 (diff)
add ifplugd config
Diffstat (limited to 'rootfs/etc/init.d')
-rwxr-xr-xrootfs/etc/init.d/rcS11
1 files changed, 8 insertions, 3 deletions
diff --git a/rootfs/etc/init.d/rcS b/rootfs/etc/init.d/rcS
index 59e0fe0..b819ce4 100755
--- a/rootfs/etc/init.d/rcS
+++ b/rootfs/etc/init.d/rcS
@@ -1,4 +1,9 @@
#!/bin/sh
-mount -a
-hostname -F /etc/hostname
-syslogd
+# 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
+