summaryrefslogtreecommitdiff
path: root/templates/set
diff options
context:
space:
mode:
authorTom Grennan <tgrennan@vyatta.com>2007-10-04 18:10:03 -0700
committerTom Grennan <tgrennan@vyatta.com>2007-10-04 18:10:03 -0700
commitfd141a3ac06bdbf52f38a7be6d72a392d951b67d (patch)
tree9b12acf4edb302409d161c7a70f00f75215a0bf2 /templates/set
parentef21466f9202fe7406cd07f22838a7a349fde4ef (diff)
downloadvyatta-op-fd141a3ac06bdbf52f38a7be6d72a392d951b67d.tar.gz
vyatta-op-fd141a3ac06bdbf52f38a7be6d72a392d951b67d.zip
don't eval help string; so, no longer needs to be quoted in node.def files
Diffstat (limited to 'templates/set')
-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
-rw-r--r--templates/set/node.tag/node.def2
5 files changed, 5 insertions, 5 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}
diff --git a/templates/set/node.tag/node.def b/templates/set/node.tag/node.def
index a89976a..dd11fb5 100644
--- a/templates/set/node.tag/node.def
+++ b/templates/set/node.tag/node.def
@@ -1,3 +1,3 @@
-help: "Bash builtin set command"
+help: Bash builtin set command
allowed: echo -n --
run: builtin $*