summaryrefslogtreecommitdiff
path: root/templates/show/ntp
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-02-02 10:22:05 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-02-02 10:23:59 -0800
commita305ff90c296df58a1de27a02f77c08871ecf40c (patch)
tree10b4157ee6200e4709970664acacf2778146dcd3 /templates/show/ntp
parent925e4562da09aeaf80c41f2fb085fd4295526368 (diff)
downloadvyatta-op-a305ff90c296df58a1de27a02f77c08871ecf40c.tar.gz
vyatta-op-a305ff90c296df58a1de27a02f77c08871ecf40c.zip
Merge branch 'kenwood' of 192.168.100.1:git/vyatta-op into kenwood
Diffstat (limited to 'templates/show/ntp')
-rw-r--r--templates/show/ntp/node.tag/node.def3
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 d1f00d7..2710671 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 specified NTP server
-allowed: vyatta-allowed-hosts ntp.vyatta.com ;
- awk '/^server/ { print $2 }' /etc/ntp.conf
+allowed: echo ntp.vyatta.com; awk '/^server/ { print $2 }' /etc/ntp.conf
run: /usr/sbin/ntpdate -q ${3:-ntp.vyatta.com}