diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-12-22 22:58:07 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-12-22 22:58:07 +0000 |
commit | 2ed3203cd26e42efbe830b5fee848a2e9ebada05 (patch) | |
tree | f1bd84bc734ef5b44f2a8caea5db3366cf5c5940 | |
parent | 7fbca3f7de09c7f63163832c6dfda3d6ec8f9274 (diff) | |
download | pfsense-2ed3203cd26e42efbe830b5fee848a2e9ebada05.zip pfsense-2ed3203cd26e42efbe830b5fee848a2e9ebada05.tar.gz |
Remove platform check. Even CDROM platform has unionfs now on RELENG_1
-rwxr-xr-x | etc/rc.php_ini_setup | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/etc/rc.php_ini_setup b/etc/rc.php_ini_setup index 8fb924e..4df3d76 100755 --- a/etc/rc.php_ini_setup +++ b/etc/rc.php_ini_setup @@ -34,11 +34,11 @@ mv /usr/local/etc/php.ini /tmp/ mv /usr/local/lib/php.ini /tmp/ LOADED_MODULES=`php -m | grep -v "\["` -if [ "$PLATFORM" != "cdrom" ]; then - # Populate a dummy php.ini to avoid - # the file being clobbered and the firewall - # not being able to boot back up. - cat >/usr/local/lib/php.ini <<EOF + +# Populate a dummy php.ini to avoid +# the file being clobbered and the firewall +# not being able to boot back up. +cat >/usr/local/lib/php.ini <<EOF ; File generated from /etc/rc.php_ini_setup output_buffering = "0" expose_php = Off @@ -77,9 +77,9 @@ done RAM=`sysctl hw.realmem | awk '{print $2/1000000}' | awk -F '.' '{print $1}'` export RAM - if [ $RAM -gt 96 ]; then +if [ $RAM -gt 96 ]; then - cat >>/usr/local/lib/php.ini <<EOF + cat >>/usr/local/lib/php.ini <<EOF ; APC Settings apc.enabled="1" @@ -88,8 +88,6 @@ apc.shm_size="25" EOF - fi - fi cp /usr/local/lib/php.ini /usr/local/etc/php.ini |