diff options
Diffstat (limited to 'templates/set/date/ntp')
-rw-r--r-- | templates/set/date/ntp/node.def | 2 | ||||
-rw-r--r-- | templates/set/date/ntp/node.tag/node.def | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/set/date/ntp/node.def b/templates/set/date/ntp/node.def index 2ce1577..a4370e3 100644 --- a/templates/set/date/ntp/node.def +++ b/templates/set/date/ntp/node.def @@ -1,2 +1,2 @@ -help: "Set system date and time by NTP server [default: ntp.vyatta.com]" +help: Set system date and time by NTP server [default: ntp.vyatta.com] run: sudo ntpdate ntp.vyatta.com diff --git a/templates/set/date/ntp/node.tag/node.def b/templates/set/date/ntp/node.tag/node.def index 7add4fa..f8be449 100644 --- a/templates/set/date/ntp/node.tag/node.def +++ b/templates/set/date/ntp/node.tag/node.def @@ -1,4 +1,4 @@ -help: "Set system date and time with given NTP server" +help: Set system date and time with given NTP server allowed: sed 's/#.*//; s/^[^ \t]*[ \t]//; /^$/d' ${HOSTFILE:-/dev/null} ; echo -- run: sudo ntpdate ${4:-ntp.vyatta.com} |