index
:
openwrt.git
OpenWrt Source Repository
log msg
author
committer
range
feature/odhcpd_odhcp6c_udhcpc-capsdrop
linksys3200ac-master
master
about
summary
refs
log
tree
commit
diff
path:
root
/
package
/
iptables
/
files
/
firewall.init
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
author
Florian Fainelli <florian@openwrt.org>
2006-11-03 10:10:08 +0000
committer
Florian Fainelli <florian@openwrt.org>
2006-11-03 10:10:08 +0000
commit
a72fd20a82a104e1947c4efdef607c5f8e88a450
(
patch
)
tree
277a50a768404069194dc02b85a5d2686a5944a5
/
package/iptables/files/firewall.init
parent
93558441bd658f1ca3cb3359fd35a36963970213
(
diff
)
export WAN variable so that firewall works (#907)
SVN-Revision: 5412
Diffstat
(limited to 'package/iptables/files/firewall.init')
-rwxr-xr-x
package/iptables/files/firewall.init
1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/iptables/files/firewall.init b/package/iptables/files/firewall.init
index 4e8317d662..04b37bdc4c 100755
--- a/
package/iptables/files/firewall.init
+++ b/
package/iptables/files/firewall.init
@@ -101,6 +101,7 @@ start() {
## USER RULES
[ -f /etc/firewall.user ] && . /etc/firewall.user
[ -n "$WAN" -a -e /etc/config/firewall ] && {
+ export WAN
awk -f /usr/lib/common.awk -f /usr/lib/firewall.awk /etc/config/firewall | ash
}
}