export WAN variable so that firewall works (#907)

SVN-Revision: 5412
lede-17.01
Florian Fainelli 2006-11-03 10:10:08 +00:00
parent 93558441bd
commit a72fd20a82
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ start() {
## USER RULES ## USER RULES
[ -f /etc/firewall.user ] && . /etc/firewall.user [ -f /etc/firewall.user ] && . /etc/firewall.user
[ -n "$WAN" -a -e /etc/config/firewall ] && { [ -n "$WAN" -a -e /etc/config/firewall ] && {
export WAN
awk -f /usr/lib/common.awk -f /usr/lib/firewall.awk /etc/config/firewall | ash awk -f /usr/lib/common.awk -f /usr/lib/firewall.awk /etc/config/firewall | ash
} }
} }