::sysinit:/etc/init.d/rcS #! /bin/ash # # Start an "askfirst" shell on the serial port #console::askfirst:-/bin/ash #ttyS0::respawn:-/bin/ash ttyS0::respawn:-/sbin/getty -L ttyS0 115200 vt102 # Stuff to do when restarting the init process ::restart:/sbin/init # Stuff to do before rebooting #::ctrlaltdel:/sbin/reboot ::shutdown:/bin/umount -a -r ::shutdown:/sbin/swapoff -a