summaryrefslogtreecommitdiff
path: root/templates/set
diff options
context:
space:
mode:
Diffstat (limited to 'templates/set')
-rw-r--r--templates/set/date/ntp/node.tag/node.def3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/set/date/ntp/node.tag/node.def b/templates/set/date/ntp/node.tag/node.def
index 3d573f7..2bb348c 100644
--- a/templates/set/date/ntp/node.tag/node.def
+++ b/templates/set/date/ntp/node.tag/node.def
@@ -1,4 +1,3 @@
help: Set system date and time with 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: sudo ntpdate ${4:-ntp.vyatta.com}