From: Michael Tremer Date: Thu, 8 Sep 2022 15:05:08 +0000 (+0200) Subject: network: dhcpcd fails to check link state for QMI interfaces X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b4d18c306f42d78d8579ac7c5e97f543038bfd03;p=people%2Fms%2Fipfire-2.x.git network: dhcpcd fails to check link state for QMI interfaces When acquiring an IP address, dhcpcd seems to think that the interface is down or does not work properly for some reason. It will subsequentially decide to exit which is not what we want here. Therefore this patch tells dhcpcd to ignore the link state and keep happily running. Signed-off-by: Michael Tremer --- diff --git a/src/initscripts/networking/red b/src/initscripts/networking/red index 053b384050..2d68c1685a 100644 --- a/src/initscripts/networking/red +++ b/src/initscripts/networking/red @@ -227,7 +227,7 @@ case "${1}" in ip link set "${RED_DEV}" up &>/dev/null # Start the DHCP client - dhcpcd_start "${RED_DEV}" + dhcpcd_start "${RED_DEV}" --nolink # Done exit 0