summaryrefslogtreecommitdiff
path: root/templates/restart/dns
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2018-04-15 18:15:38 +0200
committerChristian Poessinger <christian@poessinger.com>2018-04-15 18:15:38 +0200
commitf4d9d3d9511300b1c309826aeee9b35ec282b327 (patch)
tree50df46627b7d9032eb38d181feba9e53c6310a8c /templates/restart/dns
parent02770b0fcb0dc0af230aaacd3216dad92436f592 (diff)
downloadvyatta-op-f4d9d3d9511300b1c309826aeee9b35ec282b327.tar.gz
vyatta-op-f4d9d3d9511300b1c309826aeee9b35ec282b327.zip
T588: Remove DNS forwarder restart command in favor if XML interface definition
Diffstat (limited to 'templates/restart/dns')
-rw-r--r--templates/restart/dns/forwarding/node.def9
-rw-r--r--templates/restart/dns/node.def1
2 files changed, 0 insertions, 10 deletions
diff --git a/templates/restart/dns/forwarding/node.def b/templates/restart/dns/forwarding/node.def
deleted file mode 100644
index b66ab3c..0000000
--- a/templates/restart/dns/forwarding/node.def
+++ /dev/null
@@ -1,9 +0,0 @@
-help: Restart DNS forwarding
-
-run:
- echo "Restarting DNS forwarding..."
- sudo /opt/vyatta/sbin/vyatta-dns-forwarding.pl --restart-dnsforwarding;
- if [[ $? -eq 0 ]]; then
- echo "Success!"
- fi
-
diff --git a/templates/restart/dns/node.def b/templates/restart/dns/node.def
deleted file mode 100644
index 3118853..0000000
--- a/templates/restart/dns/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Restart DNS services