summaryrefslogtreecommitdiff
path: root/op-templates/date/ntp
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/ntp
downloadvyatta-op-44960aef3c4b9a10a16ca39ff9f8a0e2e9d069cf.tar.gz
vyatta-op-44960aef3c4b9a10a16ca39ff9f8a0e2e9d069cf.zip
initial commit
Diffstat (limited to 'op-templates/date/ntp')
-rw-r--r--op-templates/date/ntp/node.def1
-rw-r--r--op-templates/date/ntp/op.tag/node.def3
2 files changed, 4 insertions, 0 deletions
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"