summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2018-05-07 22:41:31 +0200
committerChristian Poessinger <christian@poessinger.com>2018-05-07 22:41:31 +0200
commit9f5c33ea3fb6101c7ce49abe3762d4d497c37ce9 (patch)
tree7acb4888eb8e0f58d4f814f5340961fb13a3c598 /templates
parent38e2a80870cd2407377458dee2b4e08aef24b088 (diff)
downloadvyatta-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.def6
-rw-r--r--templates/system/ntp/allow-clients/node.def1
-rw-r--r--templates/system/ntp/node.def16
-rw-r--r--templates/system/ntp/server/node.def3
-rw-r--r--templates/system/ntp/server/node.tag/dynamic/node.def2
-rw-r--r--templates/system/ntp/server/node.tag/noselect/node.def1
-rw-r--r--templates/system/ntp/server/node.tag/preempt/node.def1
-rw-r--r--templates/system/ntp/server/node.tag/prefer/node.def1
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