diff options
author | brian <brian@FreeBSD.org> | 2001-01-30 10:07:03 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-01-30 10:07:03 +0000 |
commit | a49c48615623b801a79a4866eb4e83818c18963e (patch) | |
tree | c603cf051a4b34e24db85f4b6389c77ce3a058e1 /etc | |
parent | 3ed24cd17e5913cd7a4d714ecd09d32d4605763b (diff) | |
download | FreeBSD-src-a49c48615623b801a79a4866eb4e83818c18963e.zip FreeBSD-src-a49c48615623b801a79a4866eb4e83818c18963e.tar.gz |
Run purgedir (a local function) on /var/run instead of rm /var/run/*
PR: 24612
Submitted by: David Drum <david@mu.org>
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |