2006-10-06 17:38:48 +00:00
|
|
|
#!/bin/sh
|
2011-02-21 01:33:27 +00:00
|
|
|
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>&- >&-
|
2006-10-06 17:38:48 +00:00
|
|
|
done
|
|
|
|
iptables -t mangle -F
|
|
|
|
iptables -t mangle -X
|