diff options
author | Renato Botelho <renato.botelho@bluepex.com> | 2009-08-12 15:50:42 -0300 |
---|---|---|
committer | Renato Botelho <renato.botelho@bluepex.com> | 2009-08-12 15:50:42 -0300 |
commit | dee5d2fbfc3ed6bf8f497d127670a40c555d6180 (patch) | |
tree | 501150e0de209136cfdd34cb8b5d7e3a8509b1e3 /etc/rc.php_ini_setup | |
parent | 1dcba27ccb70b7fc8952b597a99789ede16a84c8 (diff) | |
download | pfsense-dee5d2fbfc3ed6bf8f497d127670a40c555d6180.zip pfsense-dee5d2fbfc3ed6bf8f497d127670a40c555d6180.tar.gz |
Ensure nanobsd save tmp files under /root
Diffstat (limited to 'etc/rc.php_ini_setup')
-rwxr-xr-x | etc/rc.php_ini_setup | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/rc.php_ini_setup b/etc/rc.php_ini_setup index 03f3766..08aed85 100755 --- a/etc/rc.php_ini_setup +++ b/etc/rc.php_ini_setup @@ -31,9 +31,7 @@ EXTENSIONSDIR="/usr/local/lib/php/20060613/" APCSHMEMSIZE="25" # Set upload directory -if [ "$PLATFORM" = "embedded" ]; then - UPLOADTMPDIR="/root" -elif [ "$PLATFORM" = "embedded" ] ; then +if [ "$PLATFORM" = "embedded" -o "$PLATFORM" = "nanobsd" ]; then UPLOADTMPDIR="/root" else UPLOADTMPDIR="/tmp" |