summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-05-28 18:59:12 +0000
committerErmal <eri@pfsense.org>2010-05-28 18:59:12 +0000
commit9a31a1cefa6f0437bd5e2ac3bec39e0defc688b7 (patch)
tree6398431b2786e1296365a510219c6526c06c524a /etc/rc
parent8ca2c9ab3919d4a3314e89b2e4c470a8ddd0421a (diff)
downloadpfsense-9a31a1cefa6f0437bd5e2ac3bec39e0defc688b7.zip
pfsense-9a31a1cefa6f0437bd5e2ac3bec39e0defc688b7.tar.gz
Make sure to cleanup /tmp before using it. Solves config cache issue as a start.
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index f3dd0e3..57a5902 100755
--- a/etc/rc
+++ b/etc/rc
@@ -171,6 +171,7 @@ if [ ! -h /tmp/tmp ]; then
fi
# Make sure our /tmp is 777 + Sticky
+rm -rf /tmp/*
chmod 1777 /tmp
if [ ! "$PLATFORM" = "cdrom" ] ; then
OpenPOWER on IntegriCloud