From 7f035c001e94b34e22f2d6b4d0ad8a20d06b2f76 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Mon, 14 May 2018 05:53:53 +0200 Subject: T564: remove DNS forwarding commands that are moving to vyos-1x. --- templates/reset/dns/forwarding/all/node.def | 8 -------- templates/reset/dns/forwarding/cache/node.def | 8 -------- templates/reset/dns/forwarding/node.def | 1 - templates/reset/dns/node.def | 1 - templates/show/dns/forwarding/nameservers/node.def | 2 -- templates/show/dns/forwarding/node.def | 1 - templates/show/dns/forwarding/statistics/node.def | 8 -------- 7 files changed, 29 deletions(-) delete mode 100644 templates/reset/dns/forwarding/all/node.def delete mode 100644 templates/reset/dns/forwarding/cache/node.def delete mode 100644 templates/reset/dns/forwarding/node.def delete mode 100644 templates/reset/dns/node.def delete mode 100644 templates/show/dns/forwarding/nameservers/node.def delete mode 100644 templates/show/dns/forwarding/node.def delete mode 100644 templates/show/dns/forwarding/statistics/node.def diff --git a/templates/reset/dns/forwarding/all/node.def b/templates/reset/dns/forwarding/all/node.def deleted file mode 100644 index b90aafb..0000000 --- a/templates/reset/dns/forwarding/all/node.def +++ /dev/null @@ -1,8 +0,0 @@ -help: Reset DNS forwarding cache and counters -run: - if ps ax | grep dnsmasq | grep -v grep > /dev/null - then - sudo /opt/vyatta/bin/sudo-users/vyatta-op-dns-forwarding.pl --clear-all - else - echo "DNS forwarding not configured" - fi diff --git a/templates/reset/dns/forwarding/cache/node.def b/templates/reset/dns/forwarding/cache/node.def deleted file mode 100644 index 9e1a610..0000000 --- a/templates/reset/dns/forwarding/cache/node.def +++ /dev/null @@ -1,8 +0,0 @@ -help: Reset DNS forwarding cache -run: - if ps ax | grep dnsmasq | grep -v grep > /dev/null - then - sudo /opt/vyatta/bin/sudo-users/vyatta-op-dns-forwarding.pl --clear-cache - else - echo "DNS forwarding not configured" - fi diff --git a/templates/reset/dns/forwarding/node.def b/templates/reset/dns/forwarding/node.def deleted file mode 100644 index a1bcb10..0000000 --- a/templates/reset/dns/forwarding/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Reset DNS forwarding variables diff --git a/templates/reset/dns/node.def b/templates/reset/dns/node.def deleted file mode 100644 index 5f8ef26..0000000 --- a/templates/reset/dns/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Reset Domain Name Server (DNS) variables diff --git a/templates/show/dns/forwarding/nameservers/node.def b/templates/show/dns/forwarding/nameservers/node.def deleted file mode 100644 index 0609f6a..0000000 --- a/templates/show/dns/forwarding/nameservers/node.def +++ /dev/null @@ -1,2 +0,0 @@ -help: Show DNS forwarding nameservers information -run: sudo /opt/vyatta/bin/sudo-users/vyatta-op-dns-forwarding.pl --show-nameservers diff --git a/templates/show/dns/forwarding/node.def b/templates/show/dns/forwarding/node.def deleted file mode 100644 index eb9ce4b..0000000 --- a/templates/show/dns/forwarding/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Show DNS forwarding information diff --git a/templates/show/dns/forwarding/statistics/node.def b/templates/show/dns/forwarding/statistics/node.def deleted file mode 100644 index a73b49d..0000000 --- a/templates/show/dns/forwarding/statistics/node.def +++ /dev/null @@ -1,8 +0,0 @@ -help: Show DNS forwarding statistics -run: - if ps ax | grep dnsmasq | grep -v grep > /dev/null - then - sudo /opt/vyatta/bin/sudo-users/vyatta-op-dns-forwarding.pl --show-statistics - else - echo "DNS forwarding not configured" - fi -- cgit v1.2.3