::sysinit:/etc/init.d/rcS

# to login to root on serial port -> ::askfirst:-/bin/sh
::askfirst:-/bin/login
::respawn:/sbin/getty -L ttyGS0 9600 vt100

# to shutdown or restart, we need to prepare the system first
::restart:/usr/bin/preprestart.sh
::restart:/sbin/swapoff -a
::restart:/bin/umount -a -r
::shutdown:/usr/bin/preprestart.sh
::shutdown:/sbin/swapoff -a
::shutdown:/bin/umount -a -r
