diff options
author | Dmytro Aleksandrov <alkersan@gmail.com> | 2018-08-15 17:04:53 +0300 |
---|---|---|
committer | Dmytro Aleksandrov <alkersan@gmail.com> | 2018-08-16 11:34:59 +0300 |
commit | cdc48c628ff09feab8485501ffc61c4217de4e7c (patch) | |
tree | 856095b76bd1ae16b94ed8fb9bd4d9eed76e0164 /templates/set | |
parent | 53a00c6ab40d958f9e16713c7c6459c645d18ca6 (diff) | |
download | vyatta-op-cdc48c628ff09feab8485501ffc61c4217de4e7c.tar.gz vyatta-op-cdc48c628ff09feab8485501ffc61c4217de4e7c.zip |
T689: Removed ntp and date op mode definition in virtue of xml rewrite
Diffstat (limited to 'templates/set')
-rw-r--r-- | templates/set/date/node.def | 1 | ||||
-rw-r--r-- | templates/set/date/node.tag/node.def | 3 | ||||
-rw-r--r-- | templates/set/date/ntp/node.def | 2 | ||||
-rw-r--r-- | templates/set/date/ntp/node.tag/node.def | 6 |
4 files changed, 0 insertions, 12 deletions
diff --git a/templates/set/date/node.def b/templates/set/date/node.def deleted file mode 100644 index 517fdbf..0000000 --- a/templates/set/date/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Set date and time diff --git a/templates/set/date/node.tag/node.def b/templates/set/date/node.tag/node.def deleted file mode 100644 index c593997..0000000 --- a/templates/set/date/node.tag/node.def +++ /dev/null @@ -1,3 +0,0 @@ -help: Set system date and time -allowed: echo -n '<MMDDhhmm>' '<MMDDhhmmYY>' '<MMDDhhmmCCYY>' '<MMDDhhmmCCYY.ss>' -run: sudo /bin/date "$3" diff --git a/templates/set/date/ntp/node.def b/templates/set/date/ntp/node.def deleted file mode 100644 index 9235d2e..0000000 --- a/templates/set/date/ntp/node.def +++ /dev/null @@ -1,2 +0,0 @@ -help: Set system date and time from Network Time Protocol (NTP) server -run: sudo ntpdate -u 0.vyatta.pool.ntp.org diff --git a/templates/set/date/ntp/node.tag/node.def b/templates/set/date/ntp/node.tag/node.def deleted file mode 100644 index 92e0533..0000000 --- a/templates/set/date/ntp/node.tag/node.def +++ /dev/null @@ -1,6 +0,0 @@ -help: Set system date and time with given NTP server -allowed: local -a arr - eval "arr=($(cli-shell-api listEffectiveNodes system ntp server))" - echo -n "<hostname> <x.x.x.x>" ${arr[@]} -run: sudo ntpdate -u $4 - |