diff options
author | Thomas Quinot <thomas@FreeBSD.org> | 2002-10-07 21:18:20 +0000 |
---|---|---|
committer | Thomas Quinot <thomas@FreeBSD.org> | 2002-10-07 21:18:20 +0000 |
commit | 2aeb6b270801cc62565c1e935fd24cacffb5cece (patch) | |
tree | 0968f260dffbb912f839c38a41374c89857a97ed /sbin/reboot | |
parent | b410146034a74e9ec4e6db197131dabb274b722c (diff) | |
download | src-2aeb6b270801cc62565c1e935fd24cacffb5cece.tar.gz src-2aeb6b270801cc62565c1e935fd24cacffb5cece.zip |
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
Notes
Notes:
svn path=/head/; revision=104633
Diffstat (limited to 'sbin/reboot')
-rw-r--r-- | sbin/reboot/reboot.8 | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/sbin/reboot/reboot.8 b/sbin/reboot/reboot.8 index 12a31dd7fee4..dda5d4a7dd23 100644 --- a/sbin/reboot/reboot.8 +++ b/sbin/reboot/reboot.8 @@ -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 |