aboutsummaryrefslogtreecommitdiff
path: root/rootfs/etc/init.d/rcS
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-02-06 10:46:39 +0100
committerlonkaars <loek@pipeframe.xyz>2024-02-06 10:46:39 +0100
commitae327cc50fd9d3e59e9f60088243adfc69cb312e (patch)
tree4efe5520ba87a604cf35e3d5c00d196e214bf1ae /rootfs/etc/init.d/rcS
parentb854e8abb7e1ff0b43c9f99e9b641895e4d6c148 (diff)
fix busybox booting into root shellweek3
Diffstat (limited to 'rootfs/etc/init.d/rcS')
-rwxr-xr-xrootfs/etc/init.d/rcS3
1 files changed, 3 insertions, 0 deletions
diff --git a/rootfs/etc/init.d/rcS b/rootfs/etc/init.d/rcS
index fc699e4..be9ca09 100755
--- a/rootfs/etc/init.d/rcS
+++ b/rootfs/etc/init.d/rcS
@@ -1,2 +1,5 @@
#!/bin/sh
+# mount all drives in /etc/fstab
/bin/mount -a
+# set the system hostname
+/bin/hostname -F /etc/hostname