summaryrefslogtreecommitdiff
path: root/package/qos-scripts/files/usr/bin/qos-stop
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-02-21 01:33:27 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-02-21 01:33:27 +0000
commit5e317a6c8773fc0ed62d74f67996bc4eac01f206 (patch)
tree5dc304a1e05cfa14892180a2cfbc2be072fd1476 /package/qos-scripts/files/usr/bin/qos-stop
parent5b934a6fcf88c52d872dbd7ecb9a0be4aeced5b6 (diff)
qos-scripts: drop the use of IMQ, use ifb and act_connmark instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25640 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/qos-scripts/files/usr/bin/qos-stop')
-rwxr-xr-xpackage/qos-scripts/files/usr/bin/qos-stop5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/qos-scripts/files/usr/bin/qos-stop b/package/qos-scripts/files/usr/bin/qos-stop
index 2275ea12dc..d0243bea13 100755
--- a/package/qos-scripts/files/usr/bin/qos-stop
+++ b/package/qos-scripts/files/usr/bin/qos-stop
@@ -1,6 +1,7 @@
#!/bin/sh
-for iface in $(tc qdisc show | grep hfsc | awk '{print $5}'); do
- tc qdisc del dev "$iface" root
+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