From 29a29c75e68bedd0b47d70de1e8eac83ffe23a13 Mon Sep 17 00:00:00 2001 From: "Kurt J. Bosch" Date: Mon, 28 Mar 2011 19:06:05 +0200 Subject: Make hwclock --adjust as well as --systohc optional (FS#13684) Signed-off-by: Tom Gundersen --- adjtime.cron | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'adjtime.cron') diff --git a/adjtime.cron b/adjtime.cron index a876506..dac8cea 100755 --- a/adjtime.cron +++ b/adjtime.cron @@ -10,6 +10,6 @@ case $HARDWARECLOCK in *) HWCLOCK_PARAMS="";; esac -if [[ $HWCLOCK_PARAMS ]]; then +if [[ $HWCLOCK_PARAMS && -f /var/run/daemons/hwclock ]]; then /sbin/hwclock $HWCLOCK_PARAMS fi -- cgit v1.2.3