summaryrefslogtreecommitdiff
path: root/package/qos-scripts/files/usr/bin/qos-stop
blob: d0243bea13c1af1e082887dca76be79cef924435 (plain)
1
2
3
4
5
6
7
#!/bin/sh
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