aboutsummaryrefslogtreecommitdiff
path: root/adjtime.cron
diff options
context:
space:
mode:
Diffstat (limited to 'adjtime.cron')
-rwxr-xr-xadjtime.cron2
1 files changed, 1 insertions, 1 deletions
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