halt
, reboot
,
poweroff
— stop the
system
halt |
[-n ] [-f ]
[-d ] [-w ]
[-B ] |
halt
/ reboot
/
poweroff
tells
init(8) to bring down, reboot, or power off
the system. Without -f
, it is a shortcut for
init 0
/ init 6
.
-n
- Don't sync before reboot or halt. Note that the kernel and storage drivers
may still sync.
-f
- Force halt or reboot, don't call init(8).
This is
dangerous!
-d
- Do not write the wtmp record.
-w
- Just write the wtmp record.
-B
- Just write the wtmp record, but for a boot.
This version of halt
is based on
runit(8), the following features are
not
supported and silently ignored:
-h
- to put hard drives in standby mode.
-i
- to shut down network interfaces.