PageRenderTime 44ms CodeModel.GetById 42ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/ntp/scripts/ntpver.in

https://bitbucket.org/freebsd/freebsd-head/
Autoconf | 7 lines | 1 code | 1 blank | 5 comment | 0 complexity | 1649c52336226f92b12b675fa99668e2 MD5 | raw file
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
7ntpq -c "rv 0 daemon_version" $* | awk '/daemon_version/ { print $2 }'