diff options
Diffstat (limited to 'templates/show/ntp')
-rw-r--r-- | templates/show/ntp/node.def | 2 | ||||
-rw-r--r-- | templates/show/ntp/node.tag/node.def | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/show/ntp/node.def b/templates/show/ntp/node.def index bd75136..2a53d0a 100644 --- a/templates/show/ntp/node.def +++ b/templates/show/ntp/node.def @@ -1,2 +1,2 @@ -help: "Show date and time of network server [default: ntp.vyatta.com]" +help: Show date and time of network server [default: ntp.vyatta.com] run: ntpdate -q ntp.vyatta.com diff --git a/templates/show/ntp/node.tag/node.def b/templates/show/ntp/node.tag/node.def index 9d953fa..9ff0137 100644 --- a/templates/show/ntp/node.tag/node.def +++ b/templates/show/ntp/node.tag/node.def @@ -1,4 +1,4 @@ -help: "Show date and time of given NTP server" +help: Show date and time of given NTP server allowed: sed 's/#.*//; s/^[^ \t]*[ \t]//; /^$/d' ${HOSTFILE:-/dev/null} ; echo -- run: ntpdate -q ${3:-ntp.vyatta.com} |