Andrew Geissler | 89770b0 | 2020-06-13 10:40:47 -0500 | [diff] [blame^] | 1 | # STARTUP |
| 2 | ::sysinit:/bin/mount -t proc proc /proc |
| 3 | ::sysinit:/bin/mount -t sysfs sysfs /sys |
| 4 | ::sysinit:/bin/mount -t devtmpfs devtmpfs /dev |
| 5 | ::sysinit:/bin/mount -o remount,rw / |
| 6 | ::sysinit:/bin/mkdir -p /dev/pts |
| 7 | ::sysinit:/bin/mount -t devpts devpts /dev/pts |
| 8 | ::sysinit:/bin/mount -a |
| 9 | |
| 10 | ::sysinit:/bin/ln -sf /proc/self/fd /dev/fd |
| 11 | ::sysinit:/bin/ln -sf /proc/self/fd/0 /dev/stdin |
| 12 | ::sysinit:/bin/ln -sf /proc/self/fd/1 /dev/stdout |
| 13 | ::sysinit:/bin/ln -sf /proc/self/fd/2 /dev/stderr |
| 14 | |
| 15 | ::sysinit:/bin/hostname -F /etc/hostname |
| 16 | |
| 17 | ::sysinit:/etc/init.d/rcS |
| 18 | |
| 19 | # REBOOT |
| 20 | ::ctrlaltdel:/sbin/reboot |
| 21 | ::shutdown:/etc/init.d/rcK |
| 22 | ::shutdown:/bin/umount -a -r |
| 23 | |
| 24 | # RESTART INIT |
| 25 | ::restart:/sbin/init |
| 26 | |