summaryrefslogtreecommitdiffstats
path: root/etc
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 /etc
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 'etc')
-rw-r--r--etc/login.conf4
-rw-r--r--etc/rc4
2 files changed, 3 insertions, 5 deletions
diff --git a/etc/login.conf b/etc/login.conf
index 6913519..f3d08d4 100644
--- a/etc/login.conf
+++ b/etc/login.conf
@@ -9,7 +9,7 @@
# This file controls resource limits, accounting limits and
# default user environment settings.
#
-# $Id: login.conf,v 1.23 1998/12/27 23:55:01 cwt Exp $
+# $Id: login.conf,v 1.24 1998/12/29 22:17:31 hoek Exp $
#
# Default settings effectively disable resource limits, see the
@@ -24,7 +24,7 @@ default:\
:welcome=/etc/motd:\
:setenv=MAIL=/var/mail/$,BLOCKSIZE=K,EDITOR=/usr/bin/ee:\
:path=~/bin /bin /usr/bin /usr/local/bin:\
- :nologin=/etc/nologin:\
+ :nologin=/var/run/nologin:\
:cputime=unlimited:\
:datasize=unlimited:\
:stacksize=unlimited:\
diff --git a/etc/rc b/etc/rc
index be25e5f..806ac86 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: rc,v 1.164 1999/01/06 14:01:52 peter Exp $
+# $Id: rc,v 1.165 1999/01/10 22:06:22 n_hibma Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@@ -144,8 +144,6 @@ echo .
chmod 666 /dev/tty[pqrsPQRS]*
# clean up left-over files
-rm -f /etc/nologin
-
clean_var # If it hasn't already been done
rm /var/run/clean_var
OpenPOWER on IntegriCloud