summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2008-08-27 16:48:54 +0000
committerJohn Crispin <john@openwrt.org>2008-08-27 16:48:54 +0000
commit924d10d611528002b3c9ed904bfcda9958f208b0 (patch)
treee11fa7580d113f02983dcb52fd0fbb11f06333c6 /package
parent146b47b60a5e7dd98dd292f59f4c004adb4d3c98 (diff)
downloadmaster-31e0f0ae-924d10d611528002b3c9ed904bfcda9958f208b0.tar.gz
master-31e0f0ae-924d10d611528002b3c9ed904bfcda9958f208b0.tar.bz2
master-31e0f0ae-924d10d611528002b3c9ed904bfcda9958f208b0.zip
make sure uci firewall reverts its states when stopped
SVN-Revision: 12403
Diffstat (limited to 'package')
-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
}