openwrtv3/package/qos-scripts/files/usr/bin/qos-stop

7 lines
156 B
Text
Raw Normal View History

#!/bin/sh
for iface in $(tc qdisc show | grep hfsc | awk '{print $5}'); do
tc qdisc del dev "$iface" root
done
iptables -t mangle -F
iptables -t mangle -X