]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - config/qos/makeqosscripts.pl
core130: Fix errors in rootfile
[people/pmueller/ipfire-2.x.git] / config / qos / makeqosscripts.pl
index b86e375d87c38c3e1786f72d0262d169d13df467..bc460db92b47caf4cd23601effa2af4dff54c664 100644 (file)
@@ -411,7 +411,7 @@ print <<END
                insmod ipt_IMQ
                sleep 2
        fi
-       modprobe imq numdevs=1
+       modprobe imq numdevs=1 numqueues=\$(grep -c "^processor" /proc/cpuinfo || echo 1)
        ip link set $qossettings{'IMQ_DEV'} up
 
        ### ADD HTB QDISC FOR $qossettings{'IMQ_DEV'}
@@ -726,7 +726,7 @@ print <<END
        echo "Quality of Service was successfully cleared!"
   ;;
   gen|generate)
-       echo -n "Generateing the QoS-Scripts..."
+       echo -n "Generating the QoS-Scripts..."
        /usr/bin/perl /var/ipfire/qos/bin/makeqosscripts.pl > /var/ipfire/qos/bin/qos.sh
        echo ".Done!"
        exit 0