projects
/
openwrt
/
staging
/
robimarko.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
146b47b
)
make sure uci firewall reverts its states when stopped
author
John Crispin
<john@openwrt.org>
Wed, 27 Aug 2008 16:48:54 +0000
(16:48 +0000)
committer
John Crispin
<john@openwrt.org>
Wed, 27 Aug 2008 16:48:54 +0000
(16:48 +0000)
SVN-Revision: 12403
package/firewall/files/uci_firewall.sh
patch
|
blob
|
history
diff --git
a/package/firewall/files/uci_firewall.sh
b/package/firewall/files/uci_firewall.sh
index ca5d51267e6568e3d8c3d18fc656eae91e08e25e..5063d9e0884f1696b238d9a47c05b79f9bc6212b 100755
(executable)
--- 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
}