HALT,REBOOT(8)

NAME
halt, reboot - stop the system.

SYNOPSIS
/sbin/halt [-n] [-w] [-d]
/sbin/reboot [-n] [-w] [-d]

DESCRIPTION
Halt notes that the system is being brought down in the file /var/adm/wtmp, and then either tells the kernel to halt or reboot the system.

OPTIONS

-n  Don't sync before reboot or halt.

-w  Don't actually reboot or halt but only write the wtmp record (in the /var/adm/wtmp file).

-d  Don't write the wtmp record. The -n flag implies -d.

DIAGNOSTICS
If you're not the superuser, you will get the message `must be superuser'.

NOTES
Reboot and halt shouldn't be called directly, but only by a frontend like shutdown(1). Even better, they should be builtin to shutdown. However, historical practice prevents this. As of SysVinit 2.5, halt and reboot are called by the shutdown scripts instead of by shutdown itself, so they really need to be external commands.

Halt and reboot are just links to the same program, so the man page should be installed twice, as halt.8 and as reboot.8.

AUTHOR
Miquel van Smoorenburg, miquels@drinkel.nl.mugnet.org

SEE ALSO
shutdown(8), init(1)