mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
Geaendert:
* Squid auf neuesten Stand gebracht. * QoS-Fortschritt. * Kleines Script fuer Sprachdateiupdates. git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@268 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -553,11 +553,16 @@ print <<END
|
||||
### REDUNDANT: SET ALL NONMARKED PACKETS TO DEFAULT CLASS
|
||||
iptables -t mangle -A QOS-INC -i $qossettings{'RED_DEV'} -m mark --mark 0 -j MARK --set-mark $qossettings{'DEFCLASS_INC'}
|
||||
|
||||
## STARTING COLLECTOR
|
||||
/usr/local/bin/qosd $qossettings{'RED_DEV'} >/dev/null 2>&1
|
||||
/usr/local/bin/qosd $qossettings{'IMQ_DEV'} >/dev/null 2>&1
|
||||
|
||||
echo "Quality of Service was successfully started!"
|
||||
exit 0
|
||||
;;
|
||||
clear|stop)
|
||||
### RESET EVERYTHING TO A KNOWN STATE
|
||||
killall -9 qosd
|
||||
# DELETE QDISCS
|
||||
tc qdisc del dev $qossettings{'RED_DEV'} root
|
||||
tc qdisc del dev $qossettings{'IMQ_DEV'} root
|
||||
|
||||
@@ -157,8 +157,8 @@ sub parse_class($) {
|
||||
# print "bytes: $bytes\n"."pkts: $pkts\n";
|
||||
# print "dropped: $dropped\n"."overlimits: $overlimits\n";
|
||||
} else {
|
||||
print "$timestamp: ERROR(+1) - Unable to parse (class ${class}_$device): ";
|
||||
print "\"$tc_output[$i + 1]\"\n";
|
||||
# print "$timestamp: ERROR(+1) - Unable to parse (class ${class}_$device): ";
|
||||
# print "\"$tc_output[$i + 1]\"\n";
|
||||
$return_val="";
|
||||
next;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user