Skip to content
Snippets Groups Projects
Commit a72fd20a authored by Florian Fainelli's avatar Florian Fainelli
Browse files

export WAN variable so that firewall works (#907)

SVN-Revision: 5412
parent 93558441
No related merge requests found
...@@ -101,6 +101,7 @@ start() { ...@@ -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
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment