summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorgnhb <gnoahb@gmail.com>2010-06-03 23:01:34 +0700
committergnhb <gnoahb@gmail.com>2010-06-03 23:01:34 +0700
commit4749cccb32c4709c032ce5631ea11cbd157c6548 (patch)
treeb5946c7a168e09d494ed29e5237608a07e1a6f8f /etc/rc
parent1a5f6ddf191db009ae5f798f9e63108216ed3330 (diff)
parentb72eb6c8cc0aa927ee79d4c389429eef1a648433 (diff)
downloadpfsense-4749cccb32c4709c032ce5631ea11cbd157c6548.zip
pfsense-4749cccb32c4709c032ce5631ea11cbd157c6548.tar.gz
Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlppp
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 57a5902..c878145 100755
--- a/etc/rc
+++ b/etc/rc
@@ -171,7 +171,9 @@ if [ ! -h /tmp/tmp ]; then
fi
# Make sure our /tmp is 777 + Sticky
-rm -rf /tmp/*
+if [ ! "$PLATFORM" = "cdrom" ] ; then
+ rm -rf /tmp/*
+fi
chmod 1777 /tmp
if [ ! "$PLATFORM" = "cdrom" ] ; then
OpenPOWER on IntegriCloud