diff options
author | Aaron Griffin <aaron@archlinux.org> | 2006-11-16 01:01:16 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-11-16 01:01:16 +0000 |
commit | 6b671f7901477d36fca5f8901731e4c0d5e7948f (patch) | |
tree | 8f31ac94817e631f8174b8c3d77ad92eef222376 | |
parent | c632bec83a37945e5bb4e7cedf4f4d96f0a955ec (diff) |
upgpkg: initscripts 0.7.3-1
Bugfix #5529: Set timezone before hwclock calls
-rwxr-xr-x | rc.sysinit | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -179,6 +179,9 @@ stat_done status "Activating Swap" /sbin/swapon -a stat_busy "Configuring System Clock" +if [ "$TIMEZONE" != "" ]; then + /bin/ln -sf /usr/share/zoneinfo/$TIMEZONE /etc/localtime +fi if [ "$HARDWARECLOCK" = "UTC" ]; then /sbin/hwclock --directisa --utc --hctosys else @@ -187,9 +190,6 @@ fi if [ ! -f /var/lib/hwclock/adjtime ]; then echo "0.0 0 0.0" > /var/lib/hwclock/adjtime fi -if [ "$TIMEZONE" != "" ]; then - /bin/ln -sf /usr/share/zoneinfo/$TIMEZONE /etc/localtime -fi stat_done if [ -f /var/run/random-seed ]; then |