Document behaviour change in reboot(8) introduced in reboot.c rev. 1.17:

when using '-p' with reboot, and the power down action failds, reboot
the system normally. The behaviour of 'halt -p' and of shutdown(8) is
unchanged.

Approved by:	roberto
This commit is contained in:
Thomas Quinot 2002-10-07 21:18:20 +00:00
parent b410146034
commit 2aeb6b2708
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104633

View File

@ -106,15 +106,16 @@ This option should probably not be used.
The system is halted or restarted quickly and ungracefully, and only
the flushing of the file system cache is performed (if the
.Fl n
is not specified).
flag is not specified).
This option should probably not be used.
.It Fl p
The system will turn off the power
if it can.
This is of course likely to make
.Nm
rather similar to
.Nm halt .
The system will turn off the power if it can.
If the power down action fails, the system
will halt or reboot normally, depending on whether
.Nm halt
or
.Nm reboot
was called.
.El
.Pp
The