openwrt-owl/package/qos-scripts/files/usr/bin/qos-stop

7 lines
156 B
Bash
Executable File

#!/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