aboutsummaryrefslogtreecommitdiff
path: root/sbin/shutdown
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2020-01-17 01:20:48 +0000
committerWarner Losh <imp@FreeBSD.org>2020-01-17 01:20:48 +0000
commit73c6e0c358bd10473364f1836f8873fab43d616b (patch)
tree482a53b3ecea0a62d35ca369cc82da80c76e355e /sbin/shutdown
parent38b37b93d4653b17d5f4e69c02c5afaad509ce8b (diff)
downloadsrc-73c6e0c358bd10473364f1836f8873fab43d616b.tar.gz
src-73c6e0c358bd10473364f1836f8873fab43d616b.zip
Small tweak to the default behavior of shutdown -c
'shutdown -c' is supposed to power cycle the system rather than doing a normal reboot. However, when that fails, it halts the system. This is not quite right since the intent isn't to halt the system but to restart. Make the default init behavior be to restart the system. The halt(8) interface can be used if you'd like to powercycle or halt. MFC After: 1 week Differential Revision: https://reviews.freebsd.org/D23129
Notes
Notes: svn path=/head/; revision=356821
Diffstat (limited to 'sbin/shutdown')
-rw-r--r--sbin/shutdown/shutdown.84
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/shutdown/shutdown.8 b/sbin/shutdown/shutdown.8
index 557a942bb406..443f27f32cf0 100644
--- a/sbin/shutdown/shutdown.8
+++ b/sbin/shutdown/shutdown.8
@@ -28,7 +28,7 @@
.\" @(#)shutdown.8 8.2 (Berkeley) 4/27/95
.\" $FreeBSD$
.\"
-.Dd January 1, 2018
+.Dd January 11, 2020
.Dt SHUTDOWN 8
.Os
.Sh NAME
@@ -63,7 +63,7 @@ The following options are available:
The system is power cycled (power turned off and then back on)
at the specified time.
If the hardware doesn't support power cycle, the system will be
-halted.
+rebooted.
At the present time, only systems with BMC supported by the
.Xr ipmi 4
driver that implement this functionality support this flag.