public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] QMI: Update red/iface file when using QMI.
@ 2022-10-21 14:15 Stefan Schantl
  0 siblings, 0 replies; only message in thread
From: Stefan Schantl @ 2022-10-21 14:15 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 622 bytes --]

Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-21 14:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-21 14:15 [PATCH] QMI: Update red/iface file when using QMI Stefan Schantl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox