package/ov51x-jpeg:
[openwrt.git] / package / iptables / files / firewall.init
index 204310a..0da97f8 100755 (executable)
@@ -6,7 +6,6 @@ START=45
 start() {
        include /lib/network
        scan_interfaces
-       config_load /var/state/network
        
        config_get WAN wan ifname
        config_get WANDEV wan device
@@ -123,9 +122,9 @@ start() {
 
        ## USER RULES
        [ -f /etc/firewall.user ] && . /etc/firewall.user
-       [ -n "$WAN" -a -e /etc/config/firewall ] && {
+       [ -n "$WAN" -a -e /etc/firewall.config ] && {
                export WAN
-               awk -f /usr/lib/common.awk -f /usr/lib/firewall.awk /etc/config/firewall | ash
+               awk -f /usr/lib/common.awk -f /usr/lib/firewall.awk /etc/firewall.config | ash
        }
 }
 
This page took 0.021577 seconds and 4 git commands to generate.