]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/ntp/scripts/ntpver.in
MFV CK@r336629: Import CK as of commit 1c1f9901c2dea7a883342cd03d3906a1bc482583
[FreeBSD/FreeBSD.git] / contrib / ntp / scripts / ntpver.in
1 #!@CONFIG_SHELL@
2 # print version string of NTP daemon
3 # Copyright (c) 1997 by Ulrich Windl
4 # Modified 970318: Harlan Stenn: rewritten...
5 # usage: ntpver hostname
6
7 ntpq -c "rv 0 daemon_version" $* | @AWK@ '/daemon_version/ { print $2 }'