mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Remove platform check. Even CDROM platform has unionfs now on RELENG_1
This commit is contained in:
parent
7fbca3f7de
commit
2ed3203cd2
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user