]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Revert "QoS: Do not manually load iptables modules"
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 20 Oct 2019 20:25:24 +0000 (20:25 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 20 Oct 2019 20:25:24 +0000 (20:25 +0000)
This reverts commit cae6916d598b08d79d91e92733f676be4a4bb10c.

config/qos/makeqosscripts.pl

index 053b32161b6399abac588fac316f679de4fdde86..cddfa2772df4c7fab750d34538739da69907036c 100644 (file)
@@ -407,6 +407,10 @@ print <<END
        ###
 
        ### BRING UP $qossettings{'IMQ_DEV'}
+       if [ `lsmod | grep -q ipt_IMQ` ]; then
+               insmod ipt_IMQ
+               sleep 2
+       fi
        modprobe imq numdevs=1 numqueues=\$(grep -c "^processor" /proc/cpuinfo || echo 1)
        ip link set $qossettings{'IMQ_DEV'} up