summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd/refclocks/rclk.PST
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/xntpd/refclocks/rclk.PST')
-rw-r--r--usr.sbin/xntpd/refclocks/rclk.PST37
1 files changed, 0 insertions, 37 deletions
diff --git a/usr.sbin/xntpd/refclocks/rclk.PST b/usr.sbin/xntpd/refclocks/rclk.PST
deleted file mode 100644
index 4f93c8e..0000000
--- a/usr.sbin/xntpd/refclocks/rclk.PST
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh -
-CMD="$1"
-shift;
-
-. refclocks/setup
-
-case "$CMD" in
- info)
- echo " PST - PST/Traconex 1020 WWV/H receiver"
- ;;
- check)
- if check "$RCONFIG" '$0 ~ /PST/'; then
- echo "PST - PST/Traconex 1020 WWV/H receiver"
- fi
- ;;
- config)
- if check "$REFCONF" '$0 ~ /PST/' ||
- ( [ ! "$REFCONF" ] && query "Include PST/Traconex 1020 WWV/H receiver (PST)" n); then
- _PST=0
- if check "$PPSFEATURES" '$0 ~ /CLK/'; then
- if (check "$REFCONF" '$0 ~ /PSTCLK/' ||
- ( [ ! "$REFCONF" ] && query " Support PPS via clk" y)); then
- echo " -DPSTCLK" >> $RCONFIG
- _PST=1
- fi
- fi
- if check "$PPSFEATURES" '$0 ~ /CD/' &&
- [ "$PPSOK" -eq 1 ] &&
- (check "$REFCONF" '$0 ~ /PSTPPS/' ||
- ( [ ! "$REFCONF" ] && query " Use PST for PPS" n)); then
- echo " -DPSTPPS" >> $RCONFIG
- else
- [ "$_PST" -eq 0 ] && echo "-DPST" >> $RCONFIG
- fi
- fi
- ;;
-esac
OpenPOWER on IntegriCloud