freebsd-dev/usr.sbin/xntpd/refclocks/rclk.TPRO

25 lines
497 B
Plaintext
Raw Normal View History

1993-12-21 18:36:48 +00:00
#!/bin/sh -
CMD="$1"
shift;
. refclocks/setup
if check "$DEFS" '$0 ~ /SYS_SUNOS/'; then
case "$CMD" in
info)
echo " TPRO - KSI/Odetics TPRO-S IRIG-B timecode reader"
;;
check)
if check "$RCONFIG" '$0 ~ /TPRO/'; then
echo "TPRO - KSI/Odetics TPRO-S IRIG-B timecode reader"
fi
;;
config)
if check "$REFCONF" '$0 ~ /TPRO/' ||
( [ ! "$REFCONF" ] && query "Include KSI/Odetics TPRO-S IRIG-B timecode reader (TPRO)" n); then
echo "-DTPRO" >> $RCONFIG
fi
;;
esac
fi