#!/bin/rc PATH=/sbin:/bin fn sigexit sighup sigint sigquit sigterm { exec >[2] /dev/null echo echo Sending all processes the TERM signal... eval kill -15 -1 eval sleep 5 echo Sending all processes the KILL signal... eval kill -9 -1 eval halt -w eval swapoff -a eval umount -a echo Please stand by while rebooting the system... eval reboot -d } ctrlaltdel soft update mkfs.minix /dev/ram 256 && mount -nt minix /dev/ram /tmp mount -nt proc /proc /proc while (sleep 1) /sbin/doshell /dev/tty1 /bin/rc & while (sleep 1) /sbin/doshell /dev/tty2 /bin/rc & while (sleep 1) /sbin/doshell /dev/tty3 /bin/rc & while (sleep 1) /sbin/doshell /dev/tty4 /bin/rc & wait