summaryrefslogtreecommitdiffstats
path: root/sbin/shutdown
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1999-01-11 09:07:42 +0000
committerasami <asami@FreeBSD.org>1999-01-11 09:07:42 +0000
commitbde447d2898c8972447d4bc240d85af0ffa9a6e7 (patch)
treeeea279b6882dbd28ec1272c75b74eb80ecebd3f0 /sbin/shutdown
parent31a3aea84f1a8fdf67f56eb88c06cae9139f3123 (diff)
downloadFreeBSD-src-bde447d2898c8972447d4bc240d85af0ffa9a6e7.zip
FreeBSD-src-bde447d2898c8972447d4bc240d85af0ffa9a6e7.tar.gz
Move nologin from /etc to /var/run. This means one less file that has
to be written to /etc. The only essential change is in paths.h, so any third-party software written correctly will pick it up in the next rebuild. Reviewed by: the committers list (actually an old version)
Diffstat (limited to 'sbin/shutdown')
-rw-r--r--sbin/shutdown/shutdown.810
1 files changed, 5 insertions, 5 deletions
diff --git a/sbin/shutdown/shutdown.8 b/sbin/shutdown/shutdown.8
index dde83f3..70d6044 100644
--- a/sbin/shutdown/shutdown.8
+++ b/sbin/shutdown/shutdown.8
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)shutdown.8 8.2 (Berkeley) 4/27/95
-.\" $Id: shutdown.8,v 1.7 1998/12/11 10:25:55 bde Exp $
+.\" $Id: shutdown.8,v 1.8 1998/12/11 10:35:38 bde Exp $
.\"
.Dd Dec 11, 1998
.Dt SHUTDOWN 8
@@ -110,7 +110,7 @@ and starting at ten hours before shutdown, warning messages are displayed
on the terminals of all users logged in. Five minutes before
shutdown, or immediately if shutdown is in less than 5 minutes,
logins are disabled by creating
-.Pa /etc/nologin
+.Pa /var/run/nologin
and copying the
warning message there. If this file exists when a user attempts to
log in,
@@ -129,13 +129,13 @@ to bring the system down to single-user state (depending on above
options).
The time of the shutdown and the warning message
are placed in
-.Pa /etc/nologin
+.Pa /var/run/nologin
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).
.Sh FILES
-.Bl -tag -width /etc/nologin -compact
-.It Pa /etc/nologin
+.Bl -tag -width /var/run/nologin -compact
+.It Pa /var/run/nologin
tells login not to let anyone log in
.El
.Sh SEE ALSO
OpenPOWER on IntegriCloud