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:
parent
b410146034
commit
2aeb6b2708
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104633
@ -106,15 +106,16 @@ This option should probably not be used.
|
|||||||
The system is halted or restarted quickly and ungracefully, and only
|
The system is halted or restarted quickly and ungracefully, and only
|
||||||
the flushing of the file system cache is performed (if the
|
the flushing of the file system cache is performed (if the
|
||||||
.Fl n
|
.Fl n
|
||||||
is not specified).
|
flag is not specified).
|
||||||
This option should probably not be used.
|
This option should probably not be used.
|
||||||
.It Fl p
|
.It Fl p
|
||||||
The system will turn off the power
|
The system will turn off the power if it can.
|
||||||
if it can.
|
If the power down action fails, the system
|
||||||
This is of course likely to make
|
will halt or reboot normally, depending on whether
|
||||||
.Nm
|
.Nm halt
|
||||||
rather similar to
|
or
|
||||||
.Nm halt .
|
.Nm reboot
|
||||||
|
was called.
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
The
|
The
|
||||||
|
Loading…
Reference in New Issue
Block a user