aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrc.sysinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 9197d13..a20e6bc 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -55,8 +55,8 @@ if [ "$HARDWARECLOCK" = "UTC" ]; then
else
/sbin/hwclock --localtime --hctosys
fi
-if [ ! -f /etc/adjtime ]; then
- echo "0.0 0 0.0" > /etc/adjtime
+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