summaryrefslogtreecommitdiffstats
path: root/sbin/shutdown
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-08-09 06:27:32 +0000
committerdd <dd@FreeBSD.org>2001-08-09 06:27:32 +0000
commit339ce28dbd27e3cfab24cbc191c4fd571559b678 (patch)
treeb4353f2db0ffa5a732073ee71b4ac844b90cb058 /sbin/shutdown
parenta00d57dd667d4def94a62c9d5511fc55f80938c3 (diff)
downloadFreeBSD-src-339ce28dbd27e3cfab24cbc191c4fd571559b678.zip
FreeBSD-src-339ce28dbd27e3cfab24cbc191c4fd571559b678.tar.gz
Document how to cancel a scheduled shutdown.
Obtained from: OpenBSD
Diffstat (limited to 'sbin/shutdown')
-rw-r--r--sbin/shutdown/shutdown.812
1 files changed, 12 insertions, 0 deletions
diff --git a/sbin/shutdown/shutdown.8 b/sbin/shutdown/shutdown.8
index 3bd59c7..3b172fc 100644
--- a/sbin/shutdown/shutdown.8
+++ b/sbin/shutdown/shutdown.8
@@ -155,12 +155,24 @@ are placed in
and should be used to
inform the users about when the system will be back up
and why it is going down (or anything else).
+.Pp
+A scheduled shutdown can be canceled by killing the
+.Nm
+process (a
+.Dv SIGTERM
+should suffice).
+The
+.Pa /var/run/nologin
+file that
+.Nm
+created will be removed automatically.
.Sh FILES
.Bl -tag -width /var/run/nologin -compact
.It Pa /var/run/nologin
tells login not to let anyone log in
.El
.Sh SEE ALSO
+.Xr kill 1 ,
.Xr login 1 ,
.Xr wall 1 ,
.Xr nologin 5 ,
OpenPOWER on IntegriCloud