aboutsummaryrefslogtreecommitdiffstats
path: root/package/iptables/files/firewall.init
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-02-04 22:03:18 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-02-04 22:03:18 +0000
commitb8d0d61fdbb410d1e4fc0edfa584ae3d0f4ae17d (patch)
tree25a417cfaed6842edf1035f511d3b86bf9d1dac8 /package/iptables/files/firewall.init
parentd5eff117049d07ecdbbc3bbd6f4ef8c416cec758 (diff)
downloadmaster-187ad058-b8d0d61fdbb410d1e4fc0edfa584ae3d0f4ae17d.tar.gz
master-187ad058-b8d0d61fdbb410d1e4fc0edfa584ae3d0f4ae17d.tar.bz2
master-187ad058-b8d0d61fdbb410d1e4fc0edfa584ae3d0f4ae17d.zip
move /etc/config/firewall to /etc/firewall.config to prevent it from interfering with uci - yes, this beast really needs a rewrite :)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10383 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iptables/files/firewall.init')
-rwxr-xr-xpackage/iptables/files/firewall.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/iptables/files/firewall.init b/package/iptables/files/firewall.init
index 2d8c5edbdb..0da97f836f 100755
--- a/package/iptables/files/firewall.init
+++ b/package/iptables/files/firewall.init
@@ -122,9 +122,9 @@ start() {
## USER RULES
[ -f /etc/firewall.user ] && . /etc/firewall.user
- [ -n "$WAN" -a -e /etc/config/firewall ] && {
+ [ -n "$WAN" -a -e /etc/firewall.config ] && {
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/firewall.config | ash
}
}