blob: aeb988af8d80ea807168c0aac0e53c3dbe11570c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/bin/sh -
CMD="$1"
shift;
. refclocks/setup
case "$CMD" in
info)
if check "$DEFS" '$0 ~ /STREAM/'; then
echo " MSFEESPPS - EES M201 MSF receiver"
fi
;;
check)
if check "$RCONFIG" '$0 ~ /MSFEESPPS/'; then
echo "MSFEESPPS - EES M201 MSF receiver"
fi
;;
config)
if check "$PPSFEATURES" '$0 ~ /CD/' &&
[ "$PPSOK" -eq 1 ] &&
(check "$REFCONF" '$0 ~ /MSFEESPPS/' ||
( [ ! "$REFCONF" ] && query "Include EES M201 MSF receiver (MSFEESPPS)" n)); then
echo "-DMSFEESPPS" >> $RCONFIG
fi
;;
esac
|