projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9355844
)
export WAN variable so that firewall works (#907)
author
Florian Fainelli
<florian@openwrt.org>
Fri, 3 Nov 2006 10:10:08 +0000
(10:10 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Fri, 3 Nov 2006 10:10:08 +0000
(10:10 +0000)
SVN-Revision: 5412
package/iptables/files/firewall.init
patch
|
blob
|
history
diff --git
a/package/iptables/files/firewall.init
b/package/iptables/files/firewall.init
index 4e8317d662c3f1117404c640e77cb9f8bd9b1b8e..04b37bdc4cf4e08027183e84c4e3637f148c2dd3 100755
(executable)
--- 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
}
}