network: Remove redundant insertion of wireless rules.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 14 Feb 2014 11:41:23 +0000 (12:41 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 14 Feb 2014 11:41:23 +0000 (12:41 +0100)
src/initscripts/init.d/network

index 8dd2c7e8994e2514a43ee89651bb43abd038b377..27686d1f3f831920cd094d7444a192d2906cdbd6 100644 (file)
@@ -41,11 +41,6 @@ init_networking() {
        boot_mesg "Setting up firewall"
        /etc/rc.d/init.d/firewall start; evaluate_retval
 
        boot_mesg "Setting up firewall"
        /etc/rc.d/init.d/firewall start; evaluate_retval
 
-       if [ "$CONFIG_TYPE" = "3" -o "$CONFIG_TYPE" = "4" ]; then
-               boot_mesg "Setting up wireless firewall rules"
-               /usr/local/bin/wirelessctrl; evaluate_retval
-       fi
-
        /etc/rc.d/init.d/dnsmasq start
        /etc/rc.d/init.d/static-routes start
 }
        /etc/rc.d/init.d/dnsmasq start
        /etc/rc.d/init.d/static-routes start
 }