From a2d883a080a5f2d95efdc84d8667ce9bfef6add3 Mon Sep 17 00:00:00 2001 From: Tom Grennan Date: Wed, 28 Nov 2007 12:03:09 -0800 Subject: use utility function to retrieve allowed hosts/addresses --- templates/show/ntp/node.tag/node.def | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'templates/show/ntp') diff --git a/templates/show/ntp/node.tag/node.def b/templates/show/ntp/node.tag/node.def index b2678d8..0706975 100644 --- a/templates/show/ntp/node.tag/node.def +++ b/templates/show/ntp/node.tag/node.def @@ -1,4 +1,3 @@ help: Show date and time of given NTP server -allowed: echo -n HOSTNAME A.B.C.D X:X::X:X ntp.vyatta.com ; - sed 's/#.*//; s/^[^ \t]*[ \t]//; /^$/d' ${HOSTFILE:-/dev/null} +allowed: vyatta-allowed-hosts ntp.vyatta.com run: /usr/sbin/ntpdate -q ${3:-ntp.vyatta.com} -- cgit v1.2.3