mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
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 <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Peter Müller
parent
cb4b6f433e
commit
1f568cc0ed
@@ -227,7 +227,7 @@ case "${1}" in
|
|||||||
ip link set "${RED_DEV}" up &>/dev/null
|
ip link set "${RED_DEV}" up &>/dev/null
|
||||||
|
|
||||||
# Start the DHCP client
|
# Start the DHCP client
|
||||||
dhcpcd_start "${RED_DEV}"
|
dhcpcd_start "${RED_DEV}" --nolink
|
||||||
|
|
||||||
# Done
|
# Done
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user