aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/rc.sysinit')
-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