export WAN variable so that firewall works (#907)

SVN-Revision: 5412
This commit is contained in:
Florian Fainelli 2006-11-03 10:10:08 +00:00
parent 93558441bd
commit a72fd20a82

View file

@ -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
}
}