aboutsummaryrefslogtreecommitdiffstats
path: root/package/iptables
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
commitd6611faaef432ac73575678a5607dd7fbfdf9de1 (patch)
tree1bc737930b9f8e6d98e3cf335a26aa69a2682da6 /package/iptables
parent9e40043c767d51c9d2f019f8b4c94d2f40210661 (diff)
downloadupstream-d6611faaef432ac73575678a5607dd7fbfdf9de1.tar.gz
upstream-d6611faaef432ac73575678a5607dd7fbfdf9de1.tar.bz2
upstream-d6611faaef432ac73575678a5607dd7fbfdf9de1.zip
make the firewall script run after the network script again (required for working with dynamically assigned interfaces), include the network state
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7806 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iptables')
-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