diff options
author | ache <ache@FreeBSD.org> | 1997-06-04 20:02:57 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-06-04 20:02:57 +0000 |
commit | 2414e1ba9bef2b73040ea15c19c684a48c747305 (patch) | |
tree | 20fcab0543ca79b6dec06f4681a9d645b61954a2 | |
parent | 681e15a00e16ec5dc458e4e99cca650a9cdea6cc (diff) | |
download | FreeBSD-src-2414e1ba9bef2b73040ea15c19c684a48c747305.zip FreeBSD-src-2414e1ba9bef2b73040ea15c19c684a48c747305.tar.gz |
Remove /var/run/* now instead of *.pid
-rw-r--r-- | etc/rc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ #!/bin/sh -# $Id: rc,v 1.125 1997/06/01 23:33:00 ache Exp $ +# $Id: rc,v 1.127 1997/06/04 19:20:04 ache Exp $ # From: @(#)rc 5.27 (Berkeley) 6/5/91 # System startup script run by init on autoboot @@ -95,10 +95,11 @@ fi adjkerntz -i +rm -f /var/run/* + # Keep a copy of the boot messages around dmesg > /var/run/dmesg.boot - # Add additional swapfile, if configured. if [ "x$swapfile" != "xNO" -a -w "$swapfile" -a -b /dev/vn0b ]; then echo "Adding $swapfile as additional swap." @@ -130,7 +131,6 @@ chmod 666 /dev/tty[pqrsPQRS]* rm -f /etc/nologin rm -f /var/spool/lock/* rm -rf /var/spool/uucp/.Temp/* -rm -f /var/run/*.pid (cd /var/run && { cp /dev/null utmp; chmod 644 utmp; }) # enable dumpdev so that savecore can see it |