diff options
Diffstat (limited to 'templates/show')
-rw-r--r-- | templates/show/ntp/node.tag/node.def | 3 |
1 files changed, 1 insertions, 2 deletions
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} |