make sure uci firewall reverts its states when stopped
authorJohn Crispin <john@openwrt.org>
Wed, 27 Aug 2008 16:48:54 +0000 (16:48 +0000)
committerJohn Crispin <john@openwrt.org>
Wed, 27 Aug 2008 16:48:54 +0000 (16:48 +0000)
SVN-Revision: 12403

package/firewall/files/uci_firewall.sh

index ca5d512..5063d9e 100755 (executable)
@@ -323,4 +323,5 @@ fw_stop() {
        $IPTABLES -P INPUT ACCEPT
        $IPTABLES -P OUTPUT ACCEPT
        $IPTABLES -P FORWARD ACCEPT
+       uci_revert_state firewall core
 }