From 2aeb6b270801cc62565c1e935fd24cacffb5cece Mon Sep 17 00:00:00 2001 From: Thomas Quinot Date: Mon, 7 Oct 2002 21:18:20 +0000 Subject: [PATCH] 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 --- sbin/reboot/reboot.8 | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/sbin/reboot/reboot.8 b/sbin/reboot/reboot.8 index 12a31dd7fee..dda5d4a7dd2 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