summaryrefslogtreecommitdiff
path: root/sbin/shutdown
diff options
context:
space:
mode:
authorHeikki Korpela <heko@cvs.openbsd.org>2001-08-07 15:57:42 +0000
committerHeikki Korpela <heko@cvs.openbsd.org>2001-08-07 15:57:42 +0000
commit3dee250f7a13d695c32949fec244e0d896f863aa (patch)
tree870de06495ceb5233957cad436181647626204f1 /sbin/shutdown
parent39f0189350aa0e2334696fc9389f2eddf825ccb9 (diff)
Document how to cancel a scheduled shutdown with kill(1).
Also mention that /etc/nologin should be deleted after this if needed. ok millert@
Diffstat (limited to 'sbin/shutdown')
-rw-r--r--sbin/shutdown/shutdown.810
1 files changed, 9 insertions, 1 deletions
diff --git a/sbin/shutdown/shutdown.8 b/sbin/shutdown/shutdown.8
index 9a400044493..79a464e076e 100644
--- a/sbin/shutdown/shutdown.8
+++ b/sbin/shutdown/shutdown.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: shutdown.8,v 1.26 2001/06/05 15:23:44 aaron Exp $
+.\" $OpenBSD: shutdown.8,v 1.27 2001/08/07 15:57:41 heko Exp $
.\" $NetBSD: shutdown.8,v 1.6 1995/03/18 15:01:07 cgd Exp $
.\"
.\" Copyright (c) 1988, 1991, 1993
@@ -171,6 +171,13 @@ 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
+You can cancel a scheduled shutdown with the
+.Xr kill 1
+command by killing the shutdown process. If shutdown has created
+the
+.Pa /etc/nologin
+file, you should manually delete it after killing the process.
.Sh FILES
.Bl -tag -width /etc/rc.shutdown -compact
.It Pa /etc/nologin
@@ -187,6 +194,7 @@ run by
before the system is shutdown
.El
.Sh SEE ALSO
+.Xr kill 1 ,
.Xr login 1 ,
.Xr wall 1 ,
.Xr halt 8 ,