finally move buildroot-ng to trunk
This commit is contained in:
4
package/qos-scripts/files/usr/bin/qos-start
Executable file
4
package/qos-scripts/files/usr/bin/qos-start
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
qos-stop
|
||||
/usr/lib/qos.sh all | sh
|
||||
|
||||
16
package/qos-scripts/files/usr/bin/qos-stat
Executable file
16
package/qos-scripts/files/usr/bin/qos-stat
Executable 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
|
||||
6
package/qos-scripts/files/usr/bin/qos-stop
Executable file
6
package/qos-scripts/files/usr/bin/qos-stop
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user