mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-24 01:07:21 +01:00
2b15cb3d09
Thanks to roberto for providing pointers to wedge this into HEAD. Approved by: roberto
8 lines
236 B
Plaintext
8 lines
236 B
Plaintext
#!@CONFIG_SHELL@
|
|
# 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 }'
|