From c89de79512d8f2078a3aa3f11403187f5a6d7335 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 4 Feb 2008 22:03:18 +0000 Subject: move /etc/config/firewall to /etc/firewall.config to prevent it from interfering with uci - yes, this beast really needs a rewrite :) SVN-Revision: 10383 --- package/iptables/files/firewall.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/iptables/files') diff --git a/package/iptables/files/firewall.init b/package/iptables/files/firewall.init index 2d8c5ed..0da97f8 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 } } -- cgit v1.1