aboutsummaryrefslogtreecommitdiff
path: root/sbin/shutdown/shutdown.8
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2001-08-09 06:27:32 +0000
committerDima Dorfman <dd@FreeBSD.org>2001-08-09 06:27:32 +0000
commit1f240b4c650848b99f1b9d78068782cb00895003 (patch)
treeb4353f2db0ffa5a732073ee71b4ac844b90cb058 /sbin/shutdown/shutdown.8
parent8c37834db253de38fd4f91913a1b012c8541f831 (diff)
downloadsrc-1f240b4c650848b99f1b9d78068782cb00895003.tar.gz
src-1f240b4c650848b99f1b9d78068782cb00895003.zip
Document how to cancel a scheduled shutdown.
Obtained from: OpenBSD
Notes
Notes: svn path=/head/; revision=81345
Diffstat (limited to 'sbin/shutdown/shutdown.8')
-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 3bd59c71ce65..3b172fc7c530 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 ,