X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/2517aebf84c5736fce1dd9403f468824bde52863..05535c276603ee7af4d8ce66a314b96bf32086d3:/package/qos-scripts/files/usr/bin/qos-stop diff --git a/package/qos-scripts/files/usr/bin/qos-stop b/package/qos-scripts/files/usr/bin/qos-stop index 2275ea12d..7f654d858 100755 --- a/package/qos-scripts/files/usr/bin/qos-stop +++ b/package/qos-scripts/files/usr/bin/qos-stop @@ -1,6 +1,6 @@ #!/bin/sh -for iface in $(tc qdisc show | grep hfsc | awk '{print $5}'); do - tc qdisc del dev "$iface" root +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 +/usr/lib/qos/generate.sh firewall stop | sh