summaryrefslogtreecommitdiff
path: root/package/firewall
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/firewall
parent146b47b60a5e7dd98dd292f59f4c004adb4d3c98 (diff)
downloadmtk-20170518-924d10d611528002b3c9ed904bfcda9958f208b0.zip
mtk-20170518-924d10d611528002b3c9ed904bfcda9958f208b0.tar.gz
mtk-20170518-924d10d611528002b3c9ed904bfcda9958f208b0.tar.bz2
make sure uci firewall reverts its states when stopped
SVN-Revision: 12403
Diffstat (limited to 'package/firewall')
-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 ca5d512..5063d9e 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
}