summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorthomas <thomas@FreeBSD.org>2002-10-07 21:18:20 +0000
committerthomas <thomas@FreeBSD.org>2002-10-07 21:18:20 +0000
commit01d6c8879f4812409a6cb8eaf385da5d0e666bfe (patch)
tree0968f260dffbb912f839c38a41374c89857a97ed /sbin
parent6cc4e6467cb46d86352e6241553a86e4d64b1212 (diff)
downloadFreeBSD-src-01d6c8879f4812409a6cb8eaf385da5d0e666bfe.zip
FreeBSD-src-01d6c8879f4812409a6cb8eaf385da5d0e666bfe.tar.gz
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
Diffstat (limited to 'sbin')
-rw-r--r--sbin/reboot/reboot.815
1 files changed, 8 insertions, 7 deletions
diff --git a/sbin/reboot/reboot.8 b/sbin/reboot/reboot.8
index 12a31dd..dda5d4a 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
OpenPOWER on IntegriCloud