summaryrefslogtreecommitdiff
path: root/templates/set/date
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-02-02 10:45:22 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-02-02 10:45:22 -0800
commit6d5e270564e93264b97532c3c535fff97c35606c (patch)
tree66b26252efca3a2a79cbe2b1bf68280f9efc943c /templates/set/date
parentdf73710d1a6bc0885f959e5ba297912955e8ceb5 (diff)
downloadvyatta-op-6d5e270564e93264b97532c3c535fff97c35606c.tar.gz
vyatta-op-6d5e270564e93264b97532c3c535fff97c35606c.zip
Fix allowed strings for hostname/ipaddress
Need to use echo -n
Diffstat (limited to 'templates/set/date')
-rw-r--r--templates/set/date/ntp/node.tag/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/set/date/ntp/node.tag/node.def b/templates/set/date/ntp/node.tag/node.def
index 71f2697..7cf543c 100644
--- a/templates/set/date/ntp/node.tag/node.def
+++ b/templates/set/date/ntp/node.tag/node.def
@@ -1,3 +1,3 @@
help: Set system date and time with given NTP server
-allowed: echo "<hostname> <x.x.x.x> ntp.vyatta.com"
+allowed: echo -n '<hostname> <x.x.x.x> ntp.vyatta.com'
run: sudo ntpdate ${4:-ntp.vyatta.com}