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 c488c19..ca5d512 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