Don't attempt to rm directories under /var/spool/lock.

This commit is contained in:
brian 2000-06-08 08:57:35 +00:00
parent 85c7b2d731
commit 0ff63a6e46

2
etc/rc
View File

@ -137,7 +137,7 @@ adjkerntz -i
clean_var() {
if [ ! -f /var/run/clean_var ]; then
rm -rf /var/run/*
rm -f /var/spool/lock/*
find /var/spool/lock ! -type d -delete
rm -rf /var/spool/uucp/.Temp/*
# Keep a copy of the boot messages around
dmesg >/var/run/dmesg.boot