From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] QMI: Update red/iface file when using QMI.
Date: Fri, 21 Oct 2022 16:15:20 +0200 [thread overview]
Message-ID: <20221021141520.3697-1-stefan.schantl@ipfire.org> (raw)
[-- 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
reply other threads:[~2022-10-21 14:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221021141520.3697-1-stefan.schantl@ipfire.org \
--to=stefan.schantl@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox