summaryrefslogtreecommitdiff
path: root/templates/clear
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-08-17 19:00:41 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-10-27 17:11:28 -0500
commitd188aa86f11c2e7bde4015e4f4302a58aa3fe3c0 (patch)
tree14a1b16be0f39de2606b989349d86ccc652cc249 /templates/clear
parentba0f07edf87c91e9e3e382d7a40b8d60651fd620 (diff)
downloadvyatta-op-d188aa86f11c2e7bde4015e4f4302a58aa3fe3c0.tar.gz
vyatta-op-d188aa86f11c2e7bde4015e4f4302a58aa3fe3c0.zip
Move 'clear dns' and 'clear connection-tracking' to 'reset dns' and
'reset connection-tracking' (cherry picked from commit c26d0f90bd39af8f58ab9f6ac75786c3dda87a55)
Diffstat (limited to 'templates/clear')
-rw-r--r--templates/clear/arp/address/node.def1
-rw-r--r--templates/clear/arp/address/node.tag/node.def3
-rw-r--r--templates/clear/arp/interface/node.def1
-rw-r--r--templates/clear/arp/interface/node.tag/node.def3
-rw-r--r--templates/clear/arp/node.def1
-rw-r--r--templates/clear/connection-tracking/node.def2
-rw-r--r--templates/clear/dns/forwarding/all/node.def8
-rw-r--r--templates/clear/dns/forwarding/cache/node.def8
-rw-r--r--templates/clear/dns/forwarding/node.def1
-rw-r--r--templates/clear/dns/node.def1
10 files changed, 0 insertions, 29 deletions
diff --git a/templates/clear/arp/address/node.def b/templates/clear/arp/address/node.def
deleted file mode 100644
index efe6f10..0000000
--- a/templates/clear/arp/address/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Clear ARP cache for an IPv4 address
diff --git a/templates/clear/arp/address/node.tag/node.def b/templates/clear/arp/address/node.tag/node.def
deleted file mode 100644
index 2c523ef..0000000
--- a/templates/clear/arp/address/node.tag/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-help: Clear ARP cache for an IPv4 address
-allowed: echo -n '<x.x.x.x>'
-run: sudo /sbin/ip neigh flush to "$4"
diff --git a/templates/clear/arp/interface/node.def b/templates/clear/arp/interface/node.def
deleted file mode 100644
index 9dbcaff..0000000
--- a/templates/clear/arp/interface/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Clear ARP cache for interface
diff --git a/templates/clear/arp/interface/node.tag/node.def b/templates/clear/arp/interface/node.tag/node.def
deleted file mode 100644
index 1a12602..0000000
--- a/templates/clear/arp/interface/node.tag/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-help: Clear ARP cache for interface
-allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show all
-run: sudo /sbin/ip neigh flush dev "$4"
diff --git a/templates/clear/arp/node.def b/templates/clear/arp/node.def
deleted file mode 100644
index 394a9f0..0000000
--- a/templates/clear/arp/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Clear Address Resolution Protocol (ARP) cache
diff --git a/templates/clear/connection-tracking/node.def b/templates/clear/connection-tracking/node.def
deleted file mode 100644
index 8e588da..0000000
--- a/templates/clear/connection-tracking/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Clear all currently tracked connections
-run: sudo /opt/vyatta/bin/sudo-users/vyatta-clear-conntrack
diff --git a/templates/clear/dns/forwarding/all/node.def b/templates/clear/dns/forwarding/all/node.def
deleted file mode 100644
index b439b78..0000000
--- a/templates/clear/dns/forwarding/all/node.def
+++ /dev/null
@@ -1,8 +0,0 @@
-help: Clear 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/clear/dns/forwarding/cache/node.def b/templates/clear/dns/forwarding/cache/node.def
deleted file mode 100644
index 8a5f8cc..0000000
--- a/templates/clear/dns/forwarding/cache/node.def
+++ /dev/null
@@ -1,8 +0,0 @@
-help: Clear 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/clear/dns/forwarding/node.def b/templates/clear/dns/forwarding/node.def
deleted file mode 100644
index 3cc321c..0000000
--- a/templates/clear/dns/forwarding/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Clear DNS forwarding variables
diff --git a/templates/clear/dns/node.def b/templates/clear/dns/node.def
deleted file mode 100644
index bca966e..0000000
--- a/templates/clear/dns/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Clear Domain Name Server (DNS) variables