diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-06-01 19:05:22 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-06-01 19:05:22 -0400 |
commit | 3fb8caf25800fce340a6478557040752e6dbb35d (patch) | |
tree | 6d04cebb07a547c3f191a057732c6e039972d6b6 /etc/rc | |
parent | 155e343b82373e216272b9e85944d8510106c636 (diff) | |
download | pfsense-3fb8caf25800fce340a6478557040752e6dbb35d.zip pfsense-3fb8caf25800fce340a6478557040752e6dbb35d.tar.gz |
Do not nuke /tmp/ on livecd's
Diffstat (limited to 'etc/rc')
-rwxr-xr-x | etc/rc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |