Add warning comment line (rm anything into /var/run)
This commit is contained in:
parent
22eebdda3e
commit
7409833247
3
etc/rc
3
etc/rc
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $Id: rc,v 1.11 1993/12/21 21:28:12 wollman Exp $
|
||||
# $Id: rc,v 1.12 1993/12/30 18:19:17 jkh Exp $
|
||||
# From: @(#)rc 5.27 (Berkeley) 6/5/91
|
||||
|
||||
# System startup script run by init on autoboot
|
||||
@ -79,6 +79,7 @@ mount -a -t nfs >/dev/null 2>&1 & # XXX shouldn't need background
|
||||
rm -f /etc/nologin
|
||||
rm -f /var/spool/uucp/LCK.*
|
||||
rm -f /var/spool/uucp/STST/*
|
||||
# don't add .[a-z]* to rm, because of .adjkerntz file
|
||||
(cd /var/run && { rm -rf -- *; cp /dev/null utmp; chmod 644 utmp; })
|
||||
|
||||
# Make shared lib searching a little faster. Leave /usr/lib first if you
|
||||
|
Loading…
Reference in New Issue
Block a user