NAME
reboot – reboot the system upon loss of remote file server connection |
SYNOPSIS
aux/reboot [ file ] |
DESCRIPTION
Reboot stats file, default /$cputype/lib, once every five minutes.
If the stat fails, rather than timing out, reboot reboots the
system. This is used to restart diskless cpu servers whenever
their file server connection is broken.
If the directory /sys/log/up exists and is writable, a file with
the sysname of this system will be written there every five minutes,
enabling determination of approximate time–of–death when a machine
mysteriously hangs. |
SOURCE
/sys/src/cmd/aux/reboot.c |