add qos-scripts package port for buildroot-ng

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4935 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2006-10-06 17:38:48 +00:00
parent 0531c4961b
commit 2517aebf84
8 changed files with 679 additions and 0 deletions

View file

@ -0,0 +1,16 @@
#!/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