freebsd-dev/sbin/reboot
Thomas Quinot cfde77fbdf Set only the RB_POWEROFF flag (not the RB_HALT flag) when
'-p' is used on the reboot(8) command line.

This is intended for use when you want to attempt a power down
action, but you want the system to reboot (not halt) if the
power down action fails.

This is typically useful when the power-off action performed by
the kernel consists in signalling an uninterrupted power supply
that it should shut down its inverter if mains power has not returned.

The behaviour of shutdown(8) and init(8) is not modified;
only the behaviour of invoking 'reboot -p' manually is
modified, and then only in the case when a power-down action
fails.

Sounded reasonable to:	phk
Approved by:		roberto (mentor)
2002-10-06 16:24:36 +00:00
..
boot_i386.8 s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
Makefile Add a nextboot script to make it easier to control the loader nextboot 2002-05-24 04:06:03 +00:00
nextboot.sh Add a nextboot script to make it easier to control the loader nextboot 2002-05-24 04:06:03 +00:00
reboot.8 s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
reboot.c Set only the RB_POWEROFF flag (not the RB_HALT flag) when 2002-10-06 16:24:36 +00:00