projects
/
profile
/
ivi
/
ntp.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial commit to Gerrit
[profile/ivi/ntp.git]
/
scripts
/
ntpver.in
1
#!@PATH_SH@
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 }'