mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
export WAN variable so that firewall works (#907)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5412 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
285814c65c
commit
390efb3b3c
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user