diff --git a/root/etc/hotplug.d/iface/20-firewall b/root/etc/hotplug.d/iface/20-firewall index d0f030b..ff6efe2 100644 --- a/root/etc/hotplug.d/iface/20-firewall +++ b/root/etc/hotplug.d/iface/20-firewall @@ -10,8 +10,9 @@ has_zone() { [ "$ACTION" = ifupdate -a -z "$IFUPDATE_ADDRESSES" -a -z "$IFUPDATE_DATA" ] && exit 0 /etc/init.d/firewall enabled || exit 0 +( + has_zone || exit 0 -has_zone || exit 0 - -logger -t firewall "Reloading firewall due to $ACTION of $INTERFACE ($DEVICE)" -fw4 -q reload + logger -t firewall "Reloading firewall due to $ACTION of $INTERFACE ($DEVICE)" + fw4 -q reload +) &