1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

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
This commit is contained in:
nbd
2011-02-21 01:33:27 +00:00
parent 5b934a6fcf
commit 5e317a6c87
4 changed files with 40 additions and 24 deletions

View File

@@ -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