diff options
-rw-r--r-- | templates/show/ntp/node.tag/node.def | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/show/ntp/node.tag/node.def b/templates/show/ntp/node.tag/node.def index 0706975..a4a4443 100644 --- a/templates/show/ntp/node.tag/node.def +++ b/templates/show/ntp/node.tag/node.def @@ -1,3 +1,4 @@ help: Show date and time of given NTP server -allowed: vyatta-allowed-hosts ntp.vyatta.com +allowed: vyatta-allowed-hosts ntp.vyatta.com ; + sed -n 's/^server[ \t]\+//p' /etc/ntp.conf run: /usr/sbin/ntpdate -q ${3:-ntp.vyatta.com} |