[v2,01/15] QoS: Do not manually load iptables modules
Commit Message
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(-)
@@ -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