blob: b480e90391c4814d7bddd06971024e771d396f98 (
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
|
#!/bin/sh -
CMD="$1"
shift;
. refclocks/setup
if check "$DEFS" '$0 ~ /SYS_SUNOS4/'; then
case "$CMD" in
info)
echo " IRIG - IRIG-B timecode timecode using the audio codec"
;;
check)
if check "$RCONFIG" '$0 ~ /IRIG/'; then
echo "IRIG - IRIG-B timecode timecode using the audio codec"
fi
;;
config)
if check "$REFCONF" '$0 ~ /IRIG/' ||
( [ ! "$REFCONF" ] && query "Include IRIG-B timecode timecode using the audio codec (IRIG)" n); then
echo "-DIRIG" >> $RCONFIG
fi
;;
esac
fi
|