]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
QMI: Update red/iface file when using QMI.
authorStefan Schantl <stefan.schantl@ipfire.org>
Fri, 21 Oct 2022 14:15:20 +0000 (16:15 +0200)
committerPeter Müller <peter.mueller@ipfire.org>
Sat, 17 Dec 2022 17:25:35 +0000 (17:25 +0000)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
src/initscripts/networking/red

index f927ddbfb42c617a6e99a2e375856f17c6d63163..16d48f3acbf231d03321aa01d5cdf1bf72961355 100644 (file)
@@ -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