From 48a9e6a27b1fb240eb4861841ffbece3af714fe3 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 10 Nov 2009 15:24:36 -0600 Subject: rc.sysinit: remove unnecessary adjtime creation This is an Arch initscripts original (commit 98c76a4), but is not actually necessary for hwclock to operate correctly, so kill it. The file is created automatically when `hwclock --systohc` is invoked. Signed-off-by: Dan McGee --- rc.sysinit | 3 --- 1 file changed, 3 deletions(-) (limited to 'rc.sysinit') diff --git a/rc.sysinit b/rc.sysinit index c09dad2..4e079ad 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -279,9 +279,6 @@ stat_done status "Activating Swap" /sbin/swapon -a stat_busy "Configuring System Clock" -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 -- cgit v1.2.3