fixes uci firewall init order, Signed-off-by: Roberto Riggio
authorJohn Crispin <john@openwrt.org>
Wed, 27 Aug 2008 15:55:21 +0000 (15:55 +0000)
committerJohn Crispin <john@openwrt.org>
Wed, 27 Aug 2008 15:55:21 +0000 (15:55 +0000)
SVN-Revision: 12402

package/firewall/files/uci_firewall.sh

index c488c1942442f735239b5e6ccd03b448c4aab45e..ca5d51267e6568e3d8c3d18fc656eae91e08e25e 100755 (executable)
@@ -302,10 +302,10 @@ fw_init() {
        config_foreach fw_forwarding forwarding
        echo "Loading redirects"
        config_foreach fw_redirect redirect
-       echo "Loading includes"
-       config_foreach fw_include include
        echo "Adding custom chains"
        fw_custom_chains
+       echo "Loading includes"
+       config_foreach fw_include include
 
        uci_set_state firewall core "" firewall_state 
        uci_set_state firewall core loaded 1