summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-config/systemconfig.sh
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-03-26 17:44:01 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-03-26 17:44:01 (GMT)
commitfff07199375007511e2b51ecb34b785dfe81df37 (patch)
treec9e5295aa12b6dfc7d9e55ccee60a5b07467fb80 /abs/core-testing/LinHES-config/systemconfig.sh
parentb56ad458cad0a06ca3308c2e81de1cac83cfc27d (diff)
downloadlinhes_pkgbuild-fff07199375007511e2b51ecb34b785dfe81df37.zip
linhes_pkgbuild-fff07199375007511e2b51ecb34b785dfe81df37.tar.gz
linhes_pkgbuild-fff07199375007511e2b51ecb34b785dfe81df37.tar.bz2
LinHES-config: Modify php.ini to match systemtimezone
Diffstat (limited to 'abs/core-testing/LinHES-config/systemconfig.sh')
-rwxr-xr-xabs/core-testing/LinHES-config/systemconfig.sh12
1 files changed, 9 insertions, 3 deletions
diff --git a/abs/core-testing/LinHES-config/systemconfig.sh b/abs/core-testing/LinHES-config/systemconfig.sh
index ec5c749..2cb1a0c 100755
--- a/abs/core-testing/LinHES-config/systemconfig.sh
+++ b/abs/core-testing/LinHES-config/systemconfig.sh
@@ -162,9 +162,15 @@ echo $timezone
ln -s "/usr/share/zoneinfo/$timezone" ${BASE}/etc/localtime
sed -e "s~^TIMEZONE=.*$~TIMEZONE=\"${timezone}\"~" ${BASE}/etc/rc.conf > $TEMPLATES/rc.conf
- # echo CLOCK="UTC" > ${BASE}/etc/conf.dclock
- # echo CLOCK_SYSTOCH="yes" >> ${BASE}/etc/conf.d/clock
- # echo TIMEZONE="$timezone" >> ${BASE}/etc/conf.d/clock
+
+if [ -f ${BASE}/etc/php/php.ini ]
+then
+ echo "changing timezone in php.ini"
+ sed -i "s/^.*date.timezone.*$/date.timezone=${timezone}/" ${BASE}/etc/php/php.ini
+fi
+
+
+
cp_and_log $TEMPLATES/rc.conf ${BASE}/etc/rc.conf
#Check for Atomic Ant
if grep disablemodules=agpart,intel_agp /proc/cmdline >/dev/null