OxideBSD
REBOOT(8) System Manager's Manual REBOOT(8)

reboot, halt, poweroff — stop, restart or power off the system

reboot [-lnpq]

halt [-lnpq]

poweroff [-lnq]

The reboot, halt and poweroff utilities restart the system, stop it, or turn the power off. They are one program; its name selects the action.

By default the request goes to init(8), which runs /etc/rc.shutdown, terminates every process, synchronizes the file systems and then carries it out. The request is a signal to process 1: SIGINT to restart, SIGUSR1 to halt, and SIGUSR2 to power off.

The options are as follows:

Accepted for compatibility; there is no system log to suppress.
With -q, do not synchronize the file systems first.
Power off instead of restarting or halting.
Do not involve init(8): synchronize the file systems and call reboot(2) at once. No services are stopped and no process is warned.

Only the superuser may use these utilities.

The reboot utility exits 0 on success, and >0 if an error occurs. On success with -q nothing returns.

reboot(2), init(8), rc(8), shutdown(8)

A reboot utility appeared in Version 6 AT&T UNIX. This implementation was written for OxideBSD.

Until /sbin/init runs as process 1, only -q restarts or stops the system.

September 25, 2026 OxideBSD