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