########################################################################
# Usage:
# shm -d/dev/device -s (serial) or -p (parallel) -u (unit)
#  -c -l (line) -f -D
#
# -c sets second boundary on hi->lo transition for serial
# -l line defines serial line being sampled: DCD CTS DSR
# -f sets pin 14 flapping on parallel i/f
#
# -D debug level, may be repeated:
# No. of -D
# 0  normal operation: daemonize; no reporting
# 1  + no daemonization; progress reports to stderr
# 2  + out-of-range reports
# 3  + no updating SHM
#
# (wire PPS to parallel pin 10, ground to 18, echo out to 14)
#
# Configure ntpd to use this as a time source in ntp.conf like:
# server 127.127.28.3 minpoll 4 maxpoll 4 prefer
# fudge 127.127.28.3 refid GPS
########################################################################
# For serial DCD
OPTIONS="-d /dev/gps0 -s -u 0 -l DCD"
# For parallel
#OPTIONS="-d /dev/parport0 -p -u 0 -l DCD"
