mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-28 16:29:43 +02:00
17 lines
401 B
Plaintext
17 lines
401 B
Plaintext
|
#!/bin/sh
|
||
|
echo '#################'
|
||
|
echo '# EGRESS STATUS #'
|
||
|
echo '#################'
|
||
|
echo
|
||
|
for iface in $(tc qdisc show | grep hfsc | awk '{print $5}' | grep -v imq); do
|
||
|
tc -s class show dev "$iface"
|
||
|
done
|
||
|
|
||
|
echo '##################'
|
||
|
echo '# INGRESS STATUS #'
|
||
|
echo '##################'
|
||
|
echo
|
||
|
for iface in $(tc qdisc show | grep hfsc | awk '{print $5}' | grep imq); do
|
||
|
tc -s class show dev "$iface"
|
||
|
done
|