firewall: Improve ubus support
[openwrt.git] / package / network / config / firewall / files / firewall.hotplug
index 34f3afec9b5466e4fa75cdc7cd71c01ad53e0d5d..20a95d4363d2677ac20c33c9155f4375c630d82e 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-[ "$ACTION" = ifup ] || exit 0
+[ "$ACTION" = ifup -o "$ACTION" = ifupdate ] || exit 0
 
 /etc/init.d/firewall enabled || exit 0