summaryrefslogtreecommitdiff
path: root/templates/date
diff options
context:
space:
mode:
authorTom Grennan <tgrennan@vyatta.com>2007-09-17 14:01:46 -0700
committerTom Grennan <tgrennan@vyatta.com>2007-09-17 14:01:46 -0700
commiteb51e368fa9cc2d1a016b888512aa05b02392667 (patch)
tree6c94da0db0b2dc6d0f56897d14f3b4a2d594c1f9 /templates/date
parent42b11e866ee4cfc20059d5a1ad36c8eda3ba1ef9 (diff)
downloadvyatta-op-eb51e368fa9cc2d1a016b888512aa05b02392667.tar.gz
vyatta-op-eb51e368fa9cc2d1a016b888512aa05b02392667.zip
rename op-templates
Diffstat (limited to 'templates/date')
-rw-r--r--templates/date/node.def1
-rw-r--r--templates/date/ntp/node.def1
-rw-r--r--templates/date/ntp/op.tag/node.def3
-rw-r--r--templates/date/op.tag/node.def2
4 files changed, 7 insertions, 0 deletions
diff --git a/templates/date/node.def b/templates/date/node.def
new file mode 100644
index 0000000..0b1187b
--- /dev/null
+++ b/templates/date/node.def
@@ -0,0 +1 @@
+help: "Set system date and time"
diff --git a/templates/date/ntp/node.def b/templates/date/ntp/node.def
new file mode 100644
index 0000000..9b5fb8b
--- /dev/null
+++ b/templates/date/ntp/node.def
@@ -0,0 +1 @@
+help: "Set system date and time using NTP"
diff --git a/templates/date/ntp/op.tag/node.def b/templates/date/ntp/op.tag/node.def
new file mode 100644
index 0000000..b958310
--- /dev/null
+++ b/templates/date/ntp/op.tag/node.def
@@ -0,0 +1,3 @@
+type: txt
+help: "IP or hostname of NTP server"
+run: "sudo ntpdate $3"
diff --git a/templates/date/op.tag/node.def b/templates/date/op.tag/node.def
new file mode 100644
index 0000000..01fb6b0
--- /dev/null
+++ b/templates/date/op.tag/node.def
@@ -0,0 +1,2 @@
+help: "Date and time [MMDDhhmm[.ss]YYYY]"
+run: sudo date $2