From bb699867e032c4a6e681f9bde4325b88914392c5 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 23 Oct 2013 10:25:26 +0000 Subject: firewall: Improve ubus support * Use network.interface dump call instead of individual status calls to reduce overall netifd lookups and invokes to 1 per fw3 process. * Allow protocol handlers to assign a firewall zone for an interface in the data section to allow for dynamic firewall zone assignment. SVN-Revision: 38504 --- package/network/config/firewall/files/firewall.hotplug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/network/config/firewall/files/firewall.hotplug') diff --git a/package/network/config/firewall/files/firewall.hotplug b/package/network/config/firewall/files/firewall.hotplug index 34f3afec9b..20a95d4363 100644 --- a/package/network/config/firewall/files/firewall.hotplug +++ b/package/network/config/firewall/files/firewall.hotplug @@ -1,6 +1,6 @@ #!/bin/sh -[ "$ACTION" = ifup ] || exit 0 +[ "$ACTION" = ifup -o "$ACTION" = ifupdate ] || exit 0 /etc/init.d/firewall enabled || exit 0 -- cgit v1.2.3