summaryrefslogtreecommitdiffstats
path: root/etc/rc.php_ini_setup
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-12-16 13:34:25 +0000
committerErmal <eri@pfsense.org>2013-12-16 13:34:25 +0000
commit5be2085a972351e0066c2810485c7e95eaf4e975 (patch)
tree5ff4cc658a8ef0c97d9e447a63df5d9fe5753776 /etc/rc.php_ini_setup
parent6d7ee1ab8f614002b999ff0cd9b931d592695d15 (diff)
downloadpfsense-5be2085a972351e0066c2810485c7e95eaf4e975.zip
pfsense-5be2085a972351e0066c2810485c7e95eaf4e975.tar.gz
Rely on memory rather than LOWMEM boolean
Diffstat (limited to 'etc/rc.php_ini_setup')
-rwxr-xr-xetc/rc.php_ini_setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.php_ini_setup b/etc/rc.php_ini_setup
index 4fc0739..6cbc517 100755
--- a/etc/rc.php_ini_setup
+++ b/etc/rc.php_ini_setup
@@ -329,7 +329,7 @@ security.limit_extensions =
EOF
-if [ "$LOWMEM" = "TRUE" ]; then
+if [ $REALMEM -lt 350 ]; then
/bin/cat >> /usr/local/lib/php-fpm.conf <<EOF
pm = ondemand
OpenPOWER on IntegriCloud