summaryrefslogtreecommitdiff
path: root/op-templates/date
diff options
context:
space:
mode:
authorTom Grennan <tgrennan@vyatta.com>2007-09-14 18:32:41 -0700
committerTom Grennan <tgrennan@vyatta.com>2007-09-14 18:32:41 -0700
commit44960aef3c4b9a10a16ca39ff9f8a0e2e9d069cf (patch)
tree1719340d148647348af1f0c6394cc794a76ac67c /op-templates/date
downloadvyatta-op-44960aef3c4b9a10a16ca39ff9f8a0e2e9d069cf.tar.gz
vyatta-op-44960aef3c4b9a10a16ca39ff9f8a0e2e9d069cf.zip
initial commit
Diffstat (limited to 'op-templates/date')
-rw-r--r--op-templates/date/node.def1
-rw-r--r--op-templates/date/ntp/node.def1
-rw-r--r--op-templates/date/ntp/op.tag/node.def3
-rw-r--r--op-templates/date/op.tag/node.def2
4 files changed, 7 insertions, 0 deletions
diff --git a/op-templates/date/node.def b/op-templates/date/node.def
new file mode 100644
index 0000000..0b1187b
--- /dev/null
+++ b/op-templates/date/node.def
@@ -0,0 +1 @@
+help: "Set system date and time"
diff --git a/op-templates/date/ntp/node.def b/op-templates/date/ntp/node.def
new file mode 100644
index 0000000..9b5fb8b
--- /dev/null
+++ b/op-templates/date/ntp/node.def
@@ -0,0 +1 @@
+help: "Set system date and time using NTP"
diff --git a/op-templates/date/ntp/op.tag/node.def b/op-templates/date/ntp/op.tag/node.def
new file mode 100644
index 0000000..b958310
--- /dev/null
+++ b/op-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/op-templates/date/op.tag/node.def b/op-templates/date/op.tag/node.def
new file mode 100644
index 0000000..01fb6b0
--- /dev/null
+++ b/op-templates/date/op.tag/node.def
@@ -0,0 +1,2 @@
+help: "Date and time [MMDDhhmm[.ss]YYYY]"
+run: sudo date $2