summaryrefslogtreecommitdiff
path: root/templates/show
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show')
-rw-r--r--templates/show/host/lookup/node.tag/node.def2
-rw-r--r--templates/show/ntp/node.tag/node.def2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/show/host/lookup/node.tag/node.def b/templates/show/host/lookup/node.tag/node.def
index 3b1dd38..ea7426e 100644
--- a/templates/show/host/lookup/node.tag/node.def
+++ b/templates/show/host/lookup/node.tag/node.def
@@ -1,4 +1,4 @@
help: Lookup host information for specified name or address
-allowed: echo "<hostname> <x.x.x.x> <y:y:y:y:y>"
+allowed: echo -n '<hostname> <x.x.x.x> <y:y:y:y:y>'
run: /usr/bin/host $4
diff --git a/templates/show/ntp/node.tag/node.def b/templates/show/ntp/node.tag/node.def
index 2710671..e4898bb 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 ntp.vyatta.com; awk '/^server/ { print $2 }' /etc/ntp.conf
+allowed: echo -n ntp.vyatta.com; awk '/^server/ { print "",$2 }' /etc/ntp.conf
run: /usr/sbin/ntpdate -q ${3:-ntp.vyatta.com}