File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / ntp / scripts / ntpver.in
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue May 29 12:08:38 2012 UTC (12 years, 7 months ago) by misho
Branches: ntp, MAIN
CVS tags: v4_2_6p5p0, v4_2_6p5, HEAD
ntp 4.2.6p5

    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 }'

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>