aboutsummaryrefslogtreecommitdiffstats
path: root/package/iptables/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-06-30 19:30:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-06-30 19:30:38 +0000
commit2cc2d7707bf5f869e4812dbbc6626165cbfb2e6c (patch)
tree8e17fc6de130387f7417d99c8d5e674ee2ea64e8 /package/iptables/files
parent687b83af008247dff72045e3d46b65f176013c29 (diff)
downloadupstream-2cc2d7707bf5f869e4812dbbc6626165cbfb2e6c.tar.gz
upstream-2cc2d7707bf5f869e4812dbbc6626165cbfb2e6c.tar.bz2
upstream-2cc2d7707bf5f869e4812dbbc6626165cbfb2e6c.zip
make the firewall script run after the network script again (required for working with dynamically assigned interfaces), include the network state
SVN-Revision: 7806
Diffstat (limited to 'package/iptables/files')
-rwxr-xr-xpackage/iptables/files/firewall.init3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/iptables/files/firewall.init b/package/iptables/files/firewall.init
index 68fc3de62e..388c5b4f91 100755
--- a/package/iptables/files/firewall.init
+++ b/package/iptables/files/firewall.init
@@ -2,10 +2,11 @@
# Copyright (C) 2006 OpenWrt.org
## Please make changes in /etc/firewall.user
-START=35
+START=45
start() {
include /lib/network
scan_interfaces
+ config_load /var/state/network
config_get WAN wan ifname
config_get WANDEV wan device