summaryrefslogtreecommitdiff
path: root/templates/set/date
diff options
context:
space:
mode:
Diffstat (limited to 'templates/set/date')
-rw-r--r--templates/set/date/node.def2
-rw-r--r--templates/set/date/node.tag/node.def2
-rw-r--r--templates/set/date/ntp/node.def2
-rw-r--r--templates/set/date/ntp/node.tag/node.def2
4 files changed, 4 insertions, 4 deletions
diff --git a/templates/set/date/node.def b/templates/set/date/node.def
index 05aa096..517fdbf 100644
--- a/templates/set/date/node.def
+++ b/templates/set/date/node.def
@@ -1 +1 @@
-help: "Set date and time"
+help: Set date and time
diff --git a/templates/set/date/node.tag/node.def b/templates/set/date/node.tag/node.def
index 2698b04..f508bf3 100644
--- a/templates/set/date/node.tag/node.def
+++ b/templates/set/date/node.tag/node.def
@@ -1,3 +1,3 @@
-help: "Set date and time: MMDDhhmm[.ss]YYYY"
+help: Set date and time: MMDDhhmm[.ss]YYYY
allowed: echo -n --
run: sudo /bin/date $3
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}