[package] firewall:
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 17 May 2010 12:47:14 +0000 (12:47 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 17 May 2010 12:47:14 +0000 (12:47 +0000)
commit8a4bc2af459e5c01ab551371eb8372ab12ca6222
tree645ededcac1b261fab0a9efa73cda5c03f2ff37e
parentdf5c719851134889aac0c051543f23f472fdaf02
[package] 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/Makefile
package/firewall/files/firewall.hotplug
package/firewall/files/firewall.init
package/firewall/files/lib/core.sh