summaryrefslogtreecommitdiffstats
path: root/etc/rc.php_ini_setup
diff options
context:
space:
mode:
authorRenato Botelho <renato.botelho@bluepex.com>2009-08-12 15:50:42 -0300
committerRenato Botelho <renato.botelho@bluepex.com>2009-08-12 15:50:42 -0300
commitdee5d2fbfc3ed6bf8f497d127670a40c555d6180 (patch)
tree501150e0de209136cfdd34cb8b5d7e3a8509b1e3 /etc/rc.php_ini_setup
parent1dcba27ccb70b7fc8952b597a99789ede16a84c8 (diff)
downloadpfsense-dee5d2fbfc3ed6bf8f497d127670a40c555d6180.zip
pfsense-dee5d2fbfc3ed6bf8f497d127670a40c555d6180.tar.gz
Ensure nanobsd save tmp files under /root
Diffstat (limited to 'etc/rc.php_ini_setup')
-rwxr-xr-xetc/rc.php_ini_setup4
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"
OpenPOWER on IntegriCloud