summaryrefslogtreecommitdiff
path: root/templates/show
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-07-06 14:13:45 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-07-06 14:13:45 -0500
commit432041383fc6e83c25afa70d70cc1734bb56a9c6 (patch)
tree6f87b7904cecd1b2b21fbf3c14b8e31d0f43fb82 /templates/show
parente01b86b6ffa9f80075cf5dfca1dc1bc79f7cc83c (diff)
downloadvyatta-op-432041383fc6e83c25afa70d70cc1734bb56a9c6.tar.gz
vyatta-op-432041383fc6e83c25afa70d70cc1734bb56a9c6.zip
Bugfix 7283: make ntp.vyatta.com have a new line
Diffstat (limited to 'templates/show')
-rw-r--r--templates/show/ntp/node.tag/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show/ntp/node.tag/node.def b/templates/show/ntp/node.tag/node.def
index e4898bb..8eb5406 100644
--- a/templates/show/ntp/node.tag/node.def
+++ b/templates/show/ntp/node.tag/node.def
@@ -1,3 +1,3 @@
help: Show date and time of specified NTP server
-allowed: echo -n ntp.vyatta.com; awk '/^server/ { print "",$2 }' /etc/ntp.conf
+allowed: echo -e 'ntp.vyatta.com'; awk '/^server/ { print $2 }' /etc/ntp.conf
run: /usr/sbin/ntpdate -q ${3:-ntp.vyatta.com}