From 12e0a85bba3783596a591278794afaa16961a511 Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Tue, 30 Jan 2001 10:07:03 +0000 Subject: [PATCH] Run purgedir (a local function) on /var/run instead of rm /var/run/* PR: 24612 Submitted by: David Drum --- etc/rc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/etc/rc b/etc/rc index f034c567ab8a..fefeed38d506 100644 --- a/etc/rc +++ b/etc/rc @@ -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