diff options
author | jkh <jkh@FreeBSD.org> | 1995-03-29 03:42:21 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-03-29 03:42:21 +0000 |
commit | 52c2c6e8417bd1db7bef188e68638f7b6a921048 (patch) | |
tree | 6ac0907676a83e026fa6a93dce3825d08d00d0d3 /etc/rc.maint | |
parent | 7715dd8ca1d2625f12469de67521dd4e6fc7f83b (diff) | |
download | FreeBSD-src-52c2c6e8417bd1db7bef188e68638f7b6a921048.zip FreeBSD-src-52c2c6e8417bd1db7bef188e68638f7b6a921048.tar.gz |
Move the invocation of rc.maint ahead of netstart. This is actually OK
since /var wouldn't be mounted at this point anyway - the mount of NFS
comes after both of them are run. This closes misc/276.
Diffstat (limited to 'etc/rc.maint')
-rw-r--r-- | etc/rc.maint | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/rc.maint b/etc/rc.maint index 5ae76c5..8311df1b 100644 --- a/etc/rc.maint +++ b/etc/rc.maint @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: rc.maint,v 1.2 1995/03/24 00:16:25 jkh Exp $ +# $Id: rc.maint,v 1.3 1995/03/29 03:30:22 jkh Exp $ # From: @(#)rc 5.27 (Berkeley) 6/5/91 # Various maintainance tasks to be done as the system is coming up @@ -16,6 +16,8 @@ fi rm -f /etc/nologin rm -f /var/spool/lock/* rm -f /var/spool/uucp/.Temp/* + +# clean out the old utmp file. (cd /var/run && { rm -rf -- *; cp /dev/null utmp; chmod 644 utmp; }) # Check the quotas |