mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
Merge pull request #4158 from TDT-GmbH/mwan-fix-hotplug
net/mwan3: fix hotplug on ACTION ifdown
This commit is contained in:
@@ -30,7 +30,9 @@ elif [ "$family" == "ipv6" ]; then
|
|||||||
network_get_gateway6 gateway $INTERFACE
|
network_get_gateway6 gateway $INTERFACE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ -n "$gateway" ] || exit 9
|
if [ "$ACTION" == "ifup" ]; then
|
||||||
|
[ -n "$gateway" ] || exit 9
|
||||||
|
fi
|
||||||
|
|
||||||
$LOG notice "$ACTION interface $INTERFACE (${DEVICE:-unknown})"
|
$LOG notice "$ACTION interface $INTERFACE (${DEVICE:-unknown})"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user