Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[dragonfly.git] / usr.sbin / ntp / scripts / ntpver
1 #!/bin/sh
2 # $FreeBSD: src/usr.sbin/ntp/scripts/ntpver,v 1.1 1999/12/13 14:09:56 roberto Exp $
3 # $DragonFly: src/usr.sbin/ntp/scripts/Attic/ntpver,v 1.2 2003/06/17 04:29:59 dillon Exp $
4 # print version string of NTP daemon
5 # Copyright (c) 1997 by Ulrich Windl
6 # Modified 970318: Harlan Stenn: rewritten...
7 # usage: ntpver hostname
8
9 ntpq -c "rv 0 daemon_version" $* | awk '/daemon_version/ { print $2 }'