1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Remove dirty logs

This commit is contained in:
Ycarus 2018-06-10 19:34:20 +02:00
parent e9ca632745
commit b00049aeb4
9 changed files with 871 additions and 0 deletions

View file

@ -0,0 +1,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