diff options
author | roberto <roberto@FreeBSD.org> | 1999-12-13 14:09:56 +0000 |
---|---|---|
committer | roberto <roberto@FreeBSD.org> | 1999-12-13 14:09:56 +0000 |
commit | 2c4532a5b204bf46ef9bed83b39fad4796af075f (patch) | |
tree | 24b9c349b4d68d37c1d8135507f472611002728c /usr.sbin/ntp/scripts/ntpver | |
parent | 51419295b1881d06d16787b11610eb01251cae2a (diff) | |
download | FreeBSD-src-2c4532a5b204bf46ef9bed83b39fad4796af075f.zip FreeBSD-src-2c4532a5b204bf46ef9bed83b39fad4796af075f.tar.gz |
Please welcome the brand new ntp4 daemon & utilities in the FreeBSD tree.
This is the second part of the commit (the third -- link in usr.sbin/Makefile)
will be done after a more complete review by phk & obrien.
NOTE: the number of drivers included in the default configuration is very
minimal, mainly local clocks and the one I use RAWDCF. Anyone wanting to
have a more complete version will find recompilation very easy.
It builds and runs on both alpha & i386. It also does survive "make world".
Reviewed by: phk, obrien (partly)
Diffstat (limited to 'usr.sbin/ntp/scripts/ntpver')
-rwxr-xr-x | usr.sbin/ntp/scripts/ntpver | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/usr.sbin/ntp/scripts/ntpver b/usr.sbin/ntp/scripts/ntpver new file mode 100755 index 0000000..6dbc510 --- /dev/null +++ b/usr.sbin/ntp/scripts/ntpver @@ -0,0 +1,8 @@ +#!/bin/sh +# $FreeBSD$ +# 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 }' |