From: Stefan Schantl Date: Fri, 21 Oct 2022 14:15:20 +0000 (+0200) Subject: QMI: Update red/iface file when using QMI. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=883ec31e3c3e7ec9fa27e65a6c15e2c9effd7e9f;p=people%2Fms%2Fipfire-2.x.git QMI: Update red/iface file when using QMI. Signed-off-by: Stefan Schantl --- diff --git a/src/initscripts/networking/red b/src/initscripts/networking/red index f927ddbfb4..16d48f3acb 100644 --- a/src/initscripts/networking/red +++ b/src/initscripts/networking/red @@ -226,6 +226,9 @@ case "${1}" in # Set up the interface ip link set "${RED_DEV}" up &>/dev/null + # Write red device name to the corresponding file. + echo -n "${RED_DEV}" > /var/ipfire/red/iface + # Start the DHCP client dhcpcd_start "${RED_DEV}" --dhcp