firewall: run ifdown hotplug events synchronized, fixes a racecondition on "ifup iface" when ifdown and ifup events are delivered with a small dealy

SVN-Revision: 23064
This commit is contained in:
Jo-Philipp Wich
2010-09-15 01:53:36 +00:00
parent 1fe50da4bb
commit 7557011cb1
3 changed files with 8 additions and 10 deletions

View File

@@ -17,6 +17,6 @@ case "$ACTION" in
fw_configure_interface "$INTERFACE" add "$DEVICE" &
;;
ifdown)
fw_configure_interface "$INTERFACE" del "$DEVICE" &
fw_configure_interface "$INTERFACE" del "$DEVICE"
;;
esac