diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-02-21 01:33:27 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-02-21 01:33:27 +0000 |
commit | fca74c3a44ec734916a39e979e8f0286accbe7d0 (patch) | |
tree | bd4867ccb249f3ed7a604e4249f07124c05bd7fd /package/qos-scripts/files/usr/bin/qos-stop | |
parent | c0f0316109911b01fff6e4acf82c38bb3d6d4081 (diff) | |
download | upstream-fca74c3a44ec734916a39e979e8f0286accbe7d0.tar.gz upstream-fca74c3a44ec734916a39e979e8f0286accbe7d0.tar.bz2 upstream-fca74c3a44ec734916a39e979e8f0286accbe7d0.zip |
qos-scripts: drop the use of IMQ, use ifb and act_connmark instead
SVN-Revision: 25640
Diffstat (limited to 'package/qos-scripts/files/usr/bin/qos-stop')
-rwxr-xr-x | package/qos-scripts/files/usr/bin/qos-stop | 5 |
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 |