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 2001-01-30 10:07:03 +00:00
parent 3ed24cd17e
commit a49c486156

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