From f6c379666dc69617804a5d9aff19d866da9b42bd Mon Sep 17 00:00:00 2001 From: jow Date: Thu, 27 Oct 2011 12:39:19 +0000 Subject: Add QoS firewall stop script generation To prevent code duplication for clearing QoS firewall rules, support "firewall stop" arguments to generate.sh to generate the necessary script commands. Make use of this from qos-stop. Signed-off-by: Kevin Locke git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28623 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/qos-scripts/files/usr/bin/qos-stop | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'package/qos-scripts/files/usr/bin/qos-stop') diff --git a/package/qos-scripts/files/usr/bin/qos-stop b/package/qos-scripts/files/usr/bin/qos-stop index d0243bea1..7f654d858 100755 --- a/package/qos-scripts/files/usr/bin/qos-stop +++ b/package/qos-scripts/files/usr/bin/qos-stop @@ -3,5 +3,4 @@ for iface in $(tc qdisc show | grep -E '(hfsc|ingress)' | awk '{print $5}'); do tc qdisc del dev "$iface" ingress 2>&- >&- tc qdisc del dev "$iface" root 2>&- >&- done -iptables -t mangle -F -iptables -t mangle -X +/usr/lib/qos/generate.sh firewall stop | sh -- cgit v1.2.3