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

25 lines
442 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_SUNOS4/'; then
case "$CMD" in
info)
echo " CHU - CHU via shortwave radio"
;;
check)
if check "$RCONFIG" '$0 ~ /CHU/'; then
echo "CHU - CHU via shortwave radio"
fi
;;
config)
if check "$REFCONF" '$0 ~ /CHU/' ||
( [ ! "$REFCONF" ] && query "Include CHU via shortwave radio (CHU)" n); then
echo "-DCHU" >> $RCONFIG
fi
;;
esac
fi