mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-26 04:54:07 +01:00
Nuke the nasty cleaning of /var/run after netstart starts - it nukes
gated's pid file, for one thing, and is just generally BAD.
This commit is contained in:
parent
809959779f
commit
cbb7a3fcbc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=15684
4
etc/rc
4
etc/rc
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $Id: rc,v 1.87 1996/03/14 18:24:05 nate Exp $
|
||||
# $Id: rc,v 1.88 1996/05/03 05:37:04 asami Exp $
|
||||
# From: @(#)rc 5.27 (Berkeley) 6/5/91
|
||||
|
||||
# System startup script run by init on autoboot
|
||||
@ -120,7 +120,7 @@ rm -f /etc/nologin
|
||||
rm -f /var/spool/lock/*
|
||||
rm -rf /var/spool/uucp/.Temp/*
|
||||
rm -f /dev/log
|
||||
(cd /var/run && { rm -rf -- *; cp /dev/null utmp; chmod 644 utmp; })
|
||||
(cd /var/run && { cp /dev/null utmp; chmod 644 utmp; })
|
||||
|
||||
echo clearing /tmp
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user