freebsd-nq/usr.sbin/xntpd/refclocks/rclk.IRIG
1993-12-21 18:36:48 +00:00

25 lines
513 B
Bash

#!/bin/sh -
CMD="$1"
shift;
. refclocks/setup
if check "$DEFS" '$0 ~ /SYS_SUNOS4/'; then
case "$CMD" in
info)
echo " IRIG - IRIG-B timecode timecode using the audio codec"
;;
check)
if check "$RCONFIG" '$0 ~ /IRIG/'; then
echo "IRIG - IRIG-B timecode timecode using the audio codec"
fi
;;
config)
if check "$REFCONF" '$0 ~ /IRIG/' ||
( [ ! "$REFCONF" ] && query "Include IRIG-B timecode timecode using the audio codec (IRIG)" n); then
echo "-DIRIG" >> $RCONFIG
fi
;;
esac
fi