diff options
author | Christian Poessinger <christian@poessinger.com> | 2018-05-07 22:41:31 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2018-05-07 22:41:31 +0200 |
commit | 9f5c33ea3fb6101c7ce49abe3762d4d497c37ce9 (patch) | |
tree | 7acb4888eb8e0f58d4f814f5340961fb13a3c598 /templates | |
parent | 38e2a80870cd2407377458dee2b4e08aef24b088 (diff) | |
download | vyatta-cfg-system-9f5c33ea3fb6101c7ce49abe3762d4d497c37ce9.tar.gz vyatta-cfg-system-9f5c33ea3fb6101c7ce49abe3762d4d497c37ce9.zip |
T623: Rewrite NTP subsystem in new XML style interface definition
Diffstat (limited to 'templates')
-rw-r--r-- | templates/system/ntp/allow-clients/address/node.def | 6 | ||||
-rw-r--r-- | templates/system/ntp/allow-clients/node.def | 1 | ||||
-rw-r--r-- | templates/system/ntp/node.def | 16 | ||||
-rw-r--r-- | templates/system/ntp/server/node.def | 3 | ||||
-rw-r--r-- | templates/system/ntp/server/node.tag/dynamic/node.def | 2 | ||||
-rw-r--r-- | templates/system/ntp/server/node.tag/noselect/node.def | 1 | ||||
-rw-r--r-- | templates/system/ntp/server/node.tag/preempt/node.def | 1 | ||||
-rw-r--r-- | templates/system/ntp/server/node.tag/prefer/node.def | 1 |
8 files changed, 0 insertions, 31 deletions
diff --git a/templates/system/ntp/allow-clients/address/node.def b/templates/system/ntp/allow-clients/address/node.def deleted file mode 100644 index a48a2b5a..00000000 --- a/templates/system/ntp/allow-clients/address/node.def +++ /dev/null @@ -1,6 +0,0 @@ -multi: -type: ipv4net,ipv6net -help: IP address - -val_help: ipv4net; IP address and prefix length -val_help: ipv6net; IPv6 address and prefix length diff --git a/templates/system/ntp/allow-clients/node.def b/templates/system/ntp/allow-clients/node.def deleted file mode 100644 index 8228130e..00000000 --- a/templates/system/ntp/allow-clients/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Network Time Protocol (NTP) server options diff --git a/templates/system/ntp/node.def b/templates/system/ntp/node.def deleted file mode 100644 index 38e67e05..00000000 --- a/templates/system/ntp/node.def +++ /dev/null @@ -1,16 +0,0 @@ -priority: 400 -help: Network Time Protocol (NTP) configuration - -end: - sudo /opt/vyatta/sbin/vyatta_update_ntp.pl - if grep -q '^server' /etc/ntp.conf - then - if pgrep -f -u ntp /usr/sbin/ntpd > /dev/null - then - sudo /usr/sbin/invoke-rc.d ntp force-reload - else - sudo /usr/sbin/invoke-rc.d ntp start - fi - else - sudo /usr/sbin/invoke-rc.d ntp stop - fi diff --git a/templates/system/ntp/server/node.def b/templates/system/ntp/server/node.def deleted file mode 100644 index 383bd992..00000000 --- a/templates/system/ntp/server/node.def +++ /dev/null @@ -1,3 +0,0 @@ -tag: -type: txt -help: Network Time Protocol (NTP) server diff --git a/templates/system/ntp/server/node.tag/dynamic/node.def b/templates/system/ntp/server/node.tag/dynamic/node.def deleted file mode 100644 index 2d68de16..00000000 --- a/templates/system/ntp/server/node.tag/dynamic/node.def +++ /dev/null @@ -1,2 +0,0 @@ -help: Allow server to be configured even if not reachable - diff --git a/templates/system/ntp/server/node.tag/noselect/node.def b/templates/system/ntp/server/node.tag/noselect/node.def deleted file mode 100644 index e2e061b5..00000000 --- a/templates/system/ntp/server/node.tag/noselect/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Marks the server as unused diff --git a/templates/system/ntp/server/node.tag/preempt/node.def b/templates/system/ntp/server/node.tag/preempt/node.def deleted file mode 100644 index ca89efa1..00000000 --- a/templates/system/ntp/server/node.tag/preempt/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Specifies the association as preemptable rather than the default persistent diff --git a/templates/system/ntp/server/node.tag/prefer/node.def b/templates/system/ntp/server/node.tag/prefer/node.def deleted file mode 100644 index 4855fd41..00000000 --- a/templates/system/ntp/server/node.tag/prefer/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Marks the server as preferred |