From ac329a6a7ec73bc191d17cd0dbb1c34cf570e879 Mon Sep 17 00:00:00 2001 From: florian Date: Fri, 3 Nov 2006 10:10:08 +0000 Subject: [PATCH] export WAN variable so that firewall works (#907) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5412 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/iptables/files/firewall.init | 1 + 1 file changed, 1 insertion(+) diff --git a/package/iptables/files/firewall.init b/package/iptables/files/firewall.init index 4e8317d66..04b37bdc4 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 } }