diff options
Diffstat (limited to 'templates/date')
-rw-r--r-- | templates/date/node.def | 1 | ||||
-rw-r--r-- | templates/date/ntp/node.def | 1 | ||||
-rw-r--r-- | templates/date/ntp/op.tag/node.def | 3 | ||||
-rw-r--r-- | templates/date/op.tag/node.def | 2 |
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 |