diff options
Diffstat (limited to 'usr.sbin/xntpd/refclocks/setup')
-rw-r--r-- | usr.sbin/xntpd/refclocks/setup | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/usr.sbin/xntpd/refclocks/setup b/usr.sbin/xntpd/refclocks/setup new file mode 100644 index 0000000..4611178 --- /dev/null +++ b/usr.sbin/xntpd/refclocks/setup @@ -0,0 +1,16 @@ +# +# gobble possible parameters +# +if [ $# -eq 5 ]; then + RCONFIG="$1" + PPSFEATURES="$2" + PPSOK="$3" + DEFS="$4" + REFCONF="$5" +fi +# +# shell dumbness detection +# +if (eval "_x () { :; }") >/dev/null 2>&1 ; then + . refclocks/setupfn +fi |