Add an config setting to remove netfilter sip modules.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 15 May 2010 17:41:55 +0000 (19:41 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 15 May 2010 17:41:55 +0000 (19:41 +0200)
config/rootfiles/core/38/filelists/files
src/initscripts/init.d/network

index 353b616..ab26809 100644 (file)
@@ -18,6 +18,7 @@ var/ipfire/langs/en.pl
 var/ipfire/langs/fr.pl
 etc/rc.d/init.d/firewall
 etc/rc.d/init.d/ipsec
+etc/rc.d/init.d/network
 etc/rc.d/init.d/ntp
 etc/rc.d/init.d/modules
 usr/local/bin/ipsecctrl
index 9c7e3ac..7f27a65 100644 (file)
@@ -27,7 +27,12 @@ init_networking() {
        done
        (exit ${failed})
        evaluate_retval
-                        
+
+       if [ -e /var/ipfire/main/disable_nf_sip ]; then
+               rmmod nf_nat_sip
+               rmmod nf_conntrack_sip
+       fi
+
        boot_mesg "Setting up firewall"
        /etc/rc.d/init.d/firewall start; evaluate_retval