--- rc.sysinit.orig 2006-12-21 12:30:04.000000000 +0200 +++ rc.sysinit 2006-12-21 12:41:22.000000000 +0200 @@ -150,7 +150,7 @@ status "Mounting Root Read-only" /bin/mount -n -o remount,ro / # Set clock early to fix some bugs with filesystem checks -# Clock is set again later to match rc.conf +# /etc/localtime should match rc.conf already or it won't work if [ -f /etc/localtime ]; then if [ "$HARDWARECLOCK" = "UTC" ]; then /sbin/hwclock --directisa --utc --hctosys --noadjfile @@ -232,10 +232,7 @@ if [ ! -f /var/lib/hwclock/adjtime ]; then echo "0.0 0 0.0" > /var/lib/hwclock/adjtime fi -if [ "$TIMEZONE" != "" -a -e /usr/share/zoneinfo/$TIMEZONE ]; then - /bin/rm -f /etc/localtime - /bin/cp /usr/share/zoneinfo/$TIMEZONE /etc/localtime -fi +# Configure the clock again just to take adjtime into account if [ "$HARDWARECLOCK" = "UTC" ]; then /sbin/hwclock --directisa --utc --hctosys else