diff options
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/init.d/halt | 2 | ||||
-rwxr-xr-x | rc.d/rc.sysinit | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt index d1ff19bf..60485da7 100755 --- a/rc.d/init.d/halt +++ b/rc.d/init.d/halt @@ -111,7 +111,7 @@ case "$SRM" in ;; esac -action $"Syncing hardware clock to system time" /sbin/hwclock $CLOCKFLAGS +[ -x /sbin/hwclock ] && action $"Syncing hardware clock to system time" /sbin/hwclock $CLOCKFLAGS # Try to unmount tmpfs filesystems to avoid swapping them in. Ignore failures. tmpfs=$(awk '$2 ~ /^\/($|proc|dev)/ { next; } diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index c5278f0b..9e73cc27 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -140,7 +140,7 @@ case "$SRM" in CLOCKDEF="$CLOCKDEF (srm)" ;; esac -/sbin/hwclock $CLOCKFLAGS +[ -x /sbin/hwclock ] && /sbin/hwclock $CLOCKFLAGS action $"Setting clock $CLOCKDEF: `date`" /bin/true |