From b4d18c306f42d78d8579ac7c5e97f543038bfd03 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 8 Sep 2022 17:05:08 +0200 Subject: [PATCH] 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 --- src/initscripts/networking/red | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5