1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00
freebsd/contrib/ntp/scripts/ntpver.in
1999-12-09 13:01:21 +00:00

8 lines
229 B
Plaintext

#!@PATH_SH@
# print version string of NTP daemon
# Copyright (c) 1997 by Ulrich Windl
# Modified 970318: Harlan Stenn: rewritten...
# usage: ntpver hostname
ntpq -c "rv 0 daemon_version" $* | awk '/daemon_version/ { print $2 }'