Run purgedir (a local function) on /var/run instead of rm /var/run/*

PR:		24612
Submitted by:	David Drum <david@mu.org>
This commit is contained in:
Brian Somers 2001-01-30 10:07:03 +00:00
parent 4997ad7c1f
commit 12e0a85bba

3
etc/rc
View File

@ -267,8 +267,7 @@ purgedir() {
clean_var() {
if [ ! -f /var/run/clean_var ]; then
rm -rf /var/run/*
purgedir /var/spool/lock
purgedir /var/run /var/spool/lock
rm -rf /var/spool/uucp/.Temp/*
# Keep a copy of the boot messages around
dmesg >/var/run/dmesg.boot