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

This commit is contained in:
Brian Somers 2000-06-08 08:57:35 +00:00
parent 335844a6c3
commit 60b2dc71d9

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