[v2,01/15] QoS: Do not manually load iptables modules

Message ID 20191021184539.12758-1-michael.tremer@ipfire.org
State New
Headers show
Series
  • [v2,01/15] QoS: Do not manually load iptables modules
Related show

Commit Message

Michael Tremer Oct. 21, 2019, 6:45 p.m. UTC
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: Daniel Weismüller <daniel.weismueller@ipfire.org>
---
 config/qos/makeqosscripts.pl | 4 ----
 1 file changed, 4 deletions(-)

Patch

diff --git a/config/qos/makeqosscripts.pl b/config/qos/makeqosscripts.pl
index cddfa2772..053b32161 100644
--- a/config/qos/makeqosscripts.pl
+++ b/config/qos/makeqosscripts.pl
@@ -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