aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit14
1 files changed, 8 insertions, 6 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 1b6a72ec..a95ed0f3 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -318,12 +318,14 @@ case "$UTC" in
;;
esac
-case "$ARC" in
- yes|true)
- CLOCKFLAGS="$CLOCKFLAGS -A";
- CLOCKDEF="$CLOCKDEF (arc)";
- ;;
-esac
+if [ "$CLOCK" = "/sbin/clock" ]; then
+ case "$ARC" in
+ yes|true)
+ CLOCKFLAGS="$CLOCKFLAGS -A";
+ CLOCKDEF="$CLOCKDEF (arc)";
+ ;;
+ esac
+fi
$CLOCK $CLOCKFLAGS
action "Setting clock $CLOCKDEF: `date`" date