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:
ms
2006-09-10 19:52:20 +00:00
parent f1df2c418b
commit 363fb6afce
12 changed files with 578 additions and 292 deletions

View File

@@ -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

View File

@@ -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;
}