]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/initscripts/init.d/firewall
firewall: iptables will load the conntrack modules automatically
[ipfire-2.x.git] / src / initscripts / init.d / firewall
index 7614b51bb27b2fc9f56f3ba1872905a2bce6cecd..5d6ac3a295f200441b554db737022cc747883f1c 100644 (file)
@@ -421,17 +421,6 @@ iptables_red_down() {
 # See how we were called.
 case "$1" in
   start)
-       boot_mesg "Loading firewall modules into the kernel"
-       modprobe iptable_nat || failed=1
-       for i in $(find /lib/modules/$(uname -r) -name nf_conntrack*); do
-               modprobe $(basename $i | cut -d. -f1) || failed=1
-       done
-       for i in $(find /lib/modules/$(uname -r) -name nf_nat*); do
-               modprobe $(basename $i | cut -d. -f1) || failed=1
-       done
-       (exit ${failed})
-       evaluate_retval
-
        boot_mesg "Setting up firewall"
        iptables_init
        evaluate_retval