From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] QMI: Update red/iface file when using QMI. Date: Fri, 21 Oct 2022 16:15:20 +0200 Message-ID: <20221021141520.3697-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0373325496458012407==" List-Id: --===============0373325496458012407== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Signed-off-by: Stefan Schantl --- src/initscripts/networking/red | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/initscripts/networking/red b/src/initscripts/networking/red index f927ddbfb..16d48f3ac 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 -- 2.30.2 --===============0373325496458012407==--