1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-13 14:40:22 +00:00

Add rm -f /var/run/*.pid to prevent random process killing due to

picking old .pid file
This commit is contained in:
Andrey A. Chernov 1997-06-01 23:33:00 +00:00
parent 55d2795997
commit 0d1eba9382
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=26352

3
etc/rc
View File

@ -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