diff --git a/net/mwan3/files/etc/hotplug.d/iface/15-mwan3 b/net/mwan3/files/etc/hotplug.d/iface/15-mwan3 index 7d6cd98c4..f5fbc0b92 100644 --- a/net/mwan3/files/etc/hotplug.d/iface/15-mwan3 +++ b/net/mwan3/files/etc/hotplug.d/iface/15-mwan3 @@ -30,7 +30,9 @@ elif [ "$family" == "ipv6" ]; then network_get_gateway6 gateway $INTERFACE fi -[ -n "$gateway" ] || exit 9 +if [ "$ACTION" == "ifup" ]; then + [ -n "$gateway" ] || exit 9 +fi $LOG notice "$ACTION interface $INTERFACE (${DEVICE:-unknown})"