basic (INSECURE!) init system

This commit is contained in:
aheirman 2021-04-17 10:52:02 +00:00
parent 9a3667b66b
commit d4a927cb22
6 changed files with 52 additions and 2 deletions

8
init/inittab Normal file
View file

@ -0,0 +1,8 @@
::sysinit:/etc/init.d/rcS
::ctrlaltdel:/sbin/reboot
::shutdown:/sbin/swapoff -a
::shutdown:/bin/umount -a -r
::restart:/sbin/init
ttyS0::askfirst:-/bin/sh
::respawn:/sbin/getty 38400 tty1
::respawn:/sbin/getty 38400 tty2