diff options
author | Tom Grennan <tgrennan@vyatta.com> | 2007-10-03 10:31:37 -0700 |
---|---|---|
committer | Tom Grennan <tgrennan@vyatta.com> | 2007-10-03 10:31:37 -0700 |
commit | 613ffa56d28ba653c9d7917f6e9f1f2bd108ac97 (patch) | |
tree | c73879d3cec5a8c42f20bd6447ce497a40aa666c /templates | |
parent | a08c2e160af0c02e8a2ca45132ffddb7ca168d8e (diff) | |
download | vyatta-op-613ffa56d28ba653c9d7917f6e9f1f2bd108ac97.tar.gz vyatta-op-613ffa56d28ba653c9d7917f6e9f1f2bd108ac97.zip |
use the command verb "set" instead of "assign" with pass-through
of wild-card options to bash builtin
Diffstat (limited to 'templates')
-rw-r--r-- | templates/assign/date/node.def | 2 | ||||
-rw-r--r-- | templates/assign/date/node.tag/node.def | 3 | ||||
-rw-r--r-- | templates/set/date/node.def | 1 | ||||
-rw-r--r-- | templates/set/date/node.tag/node.def | 3 | ||||
-rw-r--r-- | templates/set/date/ntp/node.def (renamed from templates/assign/date/ntp/node.def) | 0 | ||||
-rw-r--r-- | templates/set/date/ntp/node.tag/node.def (renamed from templates/assign/date/ntp/node.tag/node.def) | 0 | ||||
-rw-r--r-- | templates/set/node.tag/node.def | 3 |
7 files changed, 7 insertions, 5 deletions
diff --git a/templates/assign/date/node.def b/templates/assign/date/node.def deleted file mode 100644 index e6815c1..0000000 --- a/templates/assign/date/node.def +++ /dev/null @@ -1,2 +0,0 @@ -help: "Set date and time <MMDDhhmm[.ss]YYYY>" -run: sudo /bin/date $3 diff --git a/templates/assign/date/node.tag/node.def b/templates/assign/date/node.tag/node.def deleted file mode 100644 index 87849ff..0000000 --- a/templates/assign/date/node.tag/node.def +++ /dev/null @@ -1,3 +0,0 @@ -help: "Set date and time <MMDDhhmm[.ss]YYYY>" -allowed: echo -n -- -run: sudo /bin/date $3 diff --git a/templates/set/date/node.def b/templates/set/date/node.def new file mode 100644 index 0000000..05aa096 --- /dev/null +++ b/templates/set/date/node.def @@ -0,0 +1 @@ +help: "Set date and time" diff --git a/templates/set/date/node.tag/node.def b/templates/set/date/node.tag/node.def new file mode 100644 index 0000000..2698b04 --- /dev/null +++ b/templates/set/date/node.tag/node.def @@ -0,0 +1,3 @@ +help: "Set date and time: MMDDhhmm[.ss]YYYY" +allowed: echo -n -- +run: sudo /bin/date $3 diff --git a/templates/assign/date/ntp/node.def b/templates/set/date/ntp/node.def index 2ce1577..2ce1577 100644 --- a/templates/assign/date/ntp/node.def +++ b/templates/set/date/ntp/node.def diff --git a/templates/assign/date/ntp/node.tag/node.def b/templates/set/date/ntp/node.tag/node.def index 781bfbd..781bfbd 100644 --- a/templates/assign/date/ntp/node.tag/node.def +++ b/templates/set/date/ntp/node.tag/node.def diff --git a/templates/set/node.tag/node.def b/templates/set/node.tag/node.def new file mode 100644 index 0000000..a89976a --- /dev/null +++ b/templates/set/node.tag/node.def @@ -0,0 +1,3 @@ +help: "Bash builtin set command" +allowed: echo -n -- +run: builtin $* |