From 0d1eba9382b86b0700a1c7910d5e482d58cf0a54 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Sun, 1 Jun 1997 23:33:00 +0000 Subject: [PATCH] Add rm -f /var/run/*.pid to prevent random process killing due to picking old .pid file --- etc/rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/rc b/etc/rc index f6f5582be595..918f659ebcf9 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