diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-02-06 10:46:39 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-02-06 10:46:39 +0100 |
commit | ae327cc50fd9d3e59e9f60088243adfc69cb312e (patch) | |
tree | 4efe5520ba87a604cf35e3d5c00d196e214bf1ae /rootfs/etc/init.d | |
parent | b854e8abb7e1ff0b43c9f99e9b641895e4d6c148 (diff) |
fix busybox booting into root shellweek3
Diffstat (limited to 'rootfs/etc/init.d')
-rwxr-xr-x | rootfs/etc/init.d/rcS | 3 |
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 |