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 2002-10-07 21:18:20 +00:00
parent 6cc4e6467c
commit 01d6c8879f

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