diff options
author | Bill Nottingham <notting@redhat.com> | 1999-03-24 20:55:52 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-03-24 20:55:52 +0000 |
commit | 16c2d08386eaf4f2fc72797139e077d90960b91a (patch) | |
tree | 14d373c1e57bf44ed99f77cf7fa23680f145df83 /rc.d | |
parent | d7c47ea2832999a60d7d6792e20f115b76c45f3e (diff) | |
download | initscripts-16c2d08386eaf4f2fc72797139e077d90960b91a.tar initscripts-16c2d08386eaf4f2fc72797139e077d90960b91a.tar.gz initscripts-16c2d08386eaf4f2fc72797139e077d90960b91a.tar.bz2 initscripts-16c2d08386eaf4f2fc72797139e077d90960b91a.tar.xz initscripts-16c2d08386eaf4f2fc72797139e077d90960b91a.zip |
only pass -A to clock if it's /sbin/clock
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/rc.sysinit | 14 |
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 |