diff options
Diffstat (limited to 'templates/show/ntp')
-rw-r--r-- | templates/show/ntp/node.tag/node.def | 2 |
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 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} |