aboutsummaryrefslogtreecommitdiffstats
path: root/package/firewall/files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2008-08-27 16:48:54 +0000
committerJohn Crispin <blogic@openwrt.org>2008-08-27 16:48:54 +0000
commit1392ad82ec9309169306da05b84caa072bb4414a (patch)
tree2312b6aeb7e15e095851152030bc27b7dc41c59e /package/firewall/files
parent66c129b027667e0e4da6696e95c4adb835fd323a (diff)
downloadmaster-187ad058-1392ad82ec9309169306da05b84caa072bb4414a.tar.gz
master-187ad058-1392ad82ec9309169306da05b84caa072bb4414a.tar.bz2
master-187ad058-1392ad82ec9309169306da05b84caa072bb4414a.zip
make sure uci firewall reverts its states when stopped
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12403 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/firewall/files')
-rwxr-xr-xpackage/firewall/files/uci_firewall.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/firewall/files/uci_firewall.sh b/package/firewall/files/uci_firewall.sh
index ca5d51267e..5063d9e088 100755
--- a/package/firewall/files/uci_firewall.sh
+++ b/package/firewall/files/uci_firewall.sh
@@ -323,4 +323,5 @@ fw_stop() {
$IPTABLES -P INPUT ACCEPT
$IPTABLES -P OUTPUT ACCEPT
$IPTABLES -P FORWARD ACCEPT
+ uci_revert_state firewall core
}