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

25 lines
497 B
Bash

#!/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