summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2002-12-14 00:13:55 +0000
committerJudd Vinet <judd@archlinux.org>2002-12-14 00:13:55 +0000
commit19c04471ce76a3f803fdf47b964880266b529070 (patch)
treee924201776b12234076bd60d3b956fbb4281aeb2
parent96cb8c51e0ddb57f382c958ebb7808baaa258765 (diff)
fixed the location of adjtime0.4
-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