aboutsummaryrefslogtreecommitdiff
path: root/sbin/shutdown/shutdown.8
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1999-01-11 09:07:42 +0000
committerSatoshi Asami <asami@FreeBSD.org>1999-01-11 09:07:42 +0000
commit16ceea1b93f5c5c9e697b64234f1b530c2105c2d (patch)
tree270fb269352d54a95964b3d8474216b8a79254d8 /sbin/shutdown/shutdown.8
parenta85c0f554dc611cc7a33ed2ace339ded3180af36 (diff)
downloadsrc-16ceea1b93f5c5c9e697b64234f1b530c2105c2d.tar.gz
src-16ceea1b93f5c5c9e697b64234f1b530c2105c2d.zip
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)
Notes
Notes: svn path=/head/; revision=42515
Diffstat (limited to 'sbin/shutdown/shutdown.8')
-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 dde83f3f0440..70d6044c8ae1 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