From eb51e368fa9cc2d1a016b888512aa05b02392667 Mon Sep 17 00:00:00 2001 From: Tom Grennan Date: Mon, 17 Sep 2007 14:01:46 -0700 Subject: rename op-templates --- templates/date/node.def | 1 + templates/date/ntp/node.def | 1 + templates/date/ntp/op.tag/node.def | 3 +++ templates/date/op.tag/node.def | 2 ++ 4 files changed, 7 insertions(+) create mode 100644 templates/date/node.def create mode 100644 templates/date/ntp/node.def create mode 100644 templates/date/ntp/op.tag/node.def create mode 100644 templates/date/op.tag/node.def (limited to 'templates/date') 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 -- cgit v1.2.3