From fd141a3ac06bdbf52f38a7be6d72a392d951b67d Mon Sep 17 00:00:00 2001 From: Tom Grennan Date: Thu, 4 Oct 2007 18:10:03 -0700 Subject: don't eval help string; so, no longer needs to be quoted in node.def files --- templates/set/date/node.def | 2 +- templates/set/date/node.tag/node.def | 2 +- templates/set/date/ntp/node.def | 2 +- templates/set/date/ntp/node.tag/node.def | 2 +- templates/set/node.tag/node.def | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'templates/set') 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 $* -- cgit v1.2.3