SmartAudio/package/network/config/qos-scripts/files/usr/bin/qos-stop

7 lines
224 B
Plaintext
Raw Normal View History

2018-07-13 01:31:50 +00:00
#!/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