aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrc.sysinit6
1 files changed, 3 insertions, 3 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 164711d..369772b 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -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