aboutsummaryrefslogtreecommitdiff
path: root/scripts/ntpver.in
blob: 4037e440306538799275eb9278ce197d6223bf70 (plain) (blame)
1
2
3
4
5
6
7
8
#!@CONFIG_SHELL@
# @configure_input@
# print version string of NTP daemon
# Copyright (c) 1997 by Ulrich Windl
# Modified 970318: Harlan Stenn: rewritten...
# usage: ntpver hostname

ntpq -c "rv 0 version" $* | @AWK@ '/version/ { print $2 }'