aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/xntpd/refclocks/rclk.CHU
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1993-12-21 18:36:48 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1993-12-21 18:36:48 +0000
commite7c996d95e438eb882cfb523ba6e047f12adb01f (patch)
tree726a343c62286ac7f6753b0f898e58cdcf285af6 /usr.sbin/xntpd/refclocks/rclk.CHU
downloadsrc-e7c996d95e438eb882cfb523ba6e047f12adb01f.tar.gz
src-e7c996d95e438eb882cfb523ba6e047f12adb01f.zip
xntpd 3.3b from UDelvendor/ntpd/udel_33B
Notes
Notes: svn path=/cvs2svn/branches/UDEL/; revision=893 svn path=/vendor/ntpd/udel_33B/; revision=895; tag=vendor/ntpd/udel_33B
Diffstat (limited to 'usr.sbin/xntpd/refclocks/rclk.CHU')
-rw-r--r--usr.sbin/xntpd/refclocks/rclk.CHU24
1 files changed, 24 insertions, 0 deletions
diff --git a/usr.sbin/xntpd/refclocks/rclk.CHU b/usr.sbin/xntpd/refclocks/rclk.CHU
new file mode 100644
index 000000000000..fedd55c33dea
--- /dev/null
+++ b/usr.sbin/xntpd/refclocks/rclk.CHU
@@ -0,0 +1,24 @@
+#!/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