summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-06-01 23:33:00 +0000
committerache <ache@FreeBSD.org>1997-06-01 23:33:00 +0000
commit51bc6497ca9cfd0a9f799946bf4ef3d01b71544a (patch)
tree37a6192f63cceebab3808d83f26605425e2db362
parentf5c480f8c2b85c91592e4b40c7e72ffd9e9907c6 (diff)
downloadFreeBSD-src-51bc6497ca9cfd0a9f799946bf4ef3d01b71544a.zip
FreeBSD-src-51bc6497ca9cfd0a9f799946bf4ef3d01b71544a.tar.gz
Add rm -f /var/run/*.pid to prevent random process killing due to
picking old .pid file
-rw-r--r--etc/rc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index f6f5582..918f659 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: rc,v 1.123 1997/05/07 12:35:03 jkh Exp $
+# $Id: rc,v 1.124 1997/05/19 07:46:48 jkh Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@@ -130,6 +130,7 @@ 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
OpenPOWER on IntegriCloud