From df78ae1e4411c15f27f5f29b172b71504c444637 Mon Sep 17 00:00:00 2001
From: Christian Poessinger <christian@poessinger.com>
Date: Fri, 16 Mar 2018 20:09:27 +0100
Subject: Remove dns forwarding templates in favor of vyos-1x

---
 templates/service/dns/forwarding/node.def | 10 ----------
 1 file changed, 10 deletions(-)
 delete mode 100644 templates/service/dns/forwarding/node.def

(limited to 'templates/service/dns/forwarding/node.def')

diff --git a/templates/service/dns/forwarding/node.def b/templates/service/dns/forwarding/node.def
deleted file mode 100644
index ae7a9d3c..00000000
--- a/templates/service/dns/forwarding/node.def
+++ /dev/null
@@ -1,10 +0,0 @@
-priority: 918
-help: DNS forwarding
-commit:expression: $VAR(./listen-on) != ""; "At least one interface must be configured for DNS forwarding parameter 'listen-on'"
-delete:expression: "touch /tmp/dnsmasq.$PPID"
-end:expression: "if [ -f \"/tmp/dnsmasq.$PPID\" ]; then \
-        sudo /opt/vyatta/sbin/vyatta-dns-forwarding.pl --stop-dnsforwarding \
-        rm /tmp/dnsmasq.$PPID; \
-      else \
-        sudo /opt/vyatta/sbin/vyatta-dns-forwarding.pl --update-dnsforwarding; \
-      fi; "
-- 
cgit v1.2.3

