From de15765a3768bac4ae99c81ed04460da4760bbf6 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 17 May 2010 12:47:14 +0000 Subject: firewall: - defer firewall start until the first interface is brought up by hotplug, fixes race conditions on slow devices - create a file lock during firewall start and wait for it in hotplug events, prevents race conditions between start and addif - start firewall actions in background from hotplug handler since the firewall itself fires further hotplug events which results in a deadlock if not forked off - get loaded state direcly from the uci binary since updated value is not recognized by config_get after uci_set_state - bump package revision to r2 SVN-Revision: 21486 --- package/firewall/files/firewall.init | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package/firewall/files/firewall.init') diff --git a/package/firewall/files/firewall.init b/package/firewall/files/firewall.init index 54742488e8..d04804d756 100755 --- a/package/firewall/files/firewall.init +++ b/package/firewall/files/firewall.init @@ -10,6 +10,8 @@ fw() { fw_$1 } +boot() { :; } + start() { fw start } -- cgit v1.2.3