summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-02-18 05:17:45 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-02-18 05:17:45 +0000
commit7926fd61bb52a77fe111c356ce342b324b069f8c (patch)
tree2a74cb27c59d773ed025164071d4eba3d40d53f6 /etc/rc
parentbd7ad5d2fb1cac31341aef07dbd84b9101cc1e47 (diff)
downloadpfsense-7926fd61bb52a77fe111c356ce342b324b069f8c.zip
pfsense-7926fd61bb52a77fe111c356ce342b324b069f8c.tar.gz
Do not blow away subdirectories in /var/log leading way for /var/log/persistent to be born.
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index fead10f..28cc865 100755
--- a/etc/rc
+++ b/etc/rc
@@ -134,7 +134,7 @@ chmod 777 /tmp/uploadbar
# make some directories in /var
mkdir -p /var/run /var/log /var/etc /var/db/entropy /var/at/jobs/ /var/empty 2>/dev/null
-rm -rf /var/log/*
+rm /var/log/*
rm -rf /var/run/*
echo -n "."
OpenPOWER on IntegriCloud