Remove platform check. Even CDROM platform has unionfs now on RELENG_1

This commit is contained in:
Scott Ullrich 2008-12-22 22:58:07 +00:00
parent 7fbca3f7de
commit 2ed3203cd2

View File

@ -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