diff options
| 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 | 390efb3b3cb9b8c62409ab4e0e2ae8ccd486a6e4 (patch) | |
| tree | c84dd3ee19b74b0072fd0b6231d40d75af70f78f | |
| parent | 285814c65c7c4d3aca5c34b4cbb61b394fe93396 (diff) | |
| download | upstream-390efb3b3cb9b8c62409ab4e0e2ae8ccd486a6e4.tar.gz upstream-390efb3b3cb9b8c62409ab4e0e2ae8ccd486a6e4.tar.bz2 upstream-390efb3b3cb9b8c62409ab4e0e2ae8ccd486a6e4.zip | |
export WAN variable so that firewall works (#907)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5412 3c298f89-4303-0410-b956-a3cf2f4a3e73
| -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 4e8317d662c..04b37bdc4cf 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 } } |
