From fc05a43ce19c57f8bb4abd68a8e973b9e048ea19 Mon Sep 17 00:00:00 2001 From: Tom Grennan Date: Thu, 29 Nov 2007 15:03:03 -0800 Subject: include configured NTP servers in the expansion list of ntpdate (i.e. "show ntp TAB/Alt-?") --- templates/show/ntp/node.tag/node.def | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'templates') 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} -- cgit v1.2.3