mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
QoS: Do not manually load iptables modules
This should not be necessary and causes the script to wait for two seconds. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
ec5b30f39b
commit
cae6916d59
@@ -407,10 +407,6 @@ 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user