From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Cc: Michael Tremer <michael.tremer@ipfire.org>
Subject: [PATCH 5/6] network: Add support for some more auxiliary zones
Date: Tue, 29 Jul 2025 14:42:19 +0000 [thread overview]
Message-ID: <20250729144220.1332214-5-michael.tremer@ipfire.org> (raw)
In-Reply-To: <20250729144220.1332214-1-michael.tremer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
config/udev/network-hotplug-master | 2 +-
config/udev/network-hotplug-rename | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/config/udev/network-hotplug-master b/config/udev/network-hotplug-master
index b61b657bb..34cec46a6 100644
--- a/config/udev/network-hotplug-master
+++ b/config/udev/network-hotplug-master
@@ -31,7 +31,7 @@ detect_zone() {
intf="${intf^^}"
local zone
- for zone in GREEN BLUE ORANGE RED; do
+ for zone in GREEN BLUE ORANGE RED INTF0 INTF1 INTF2 INTF3; do
# Try to find if INTERFACE is the *phys version of a zone
if [ "${intf}" = "${zone}" ]; then
echo "${zone}"
diff --git a/config/udev/network-hotplug-rename b/config/udev/network-hotplug-rename
index f27eecae6..b4e694ed3 100644
--- a/config/udev/network-hotplug-rename
+++ b/config/udev/network-hotplug-rename
@@ -57,7 +57,7 @@ fi
eval $(/usr/local/bin/readhash /var/ipfire/ethernet/settings)
# Standard zones
-ZONES="RED GREEN ORANGE BLUE"
+ZONES="RED GREEN ORANGE BLUE INTF0 INTF1 INTF2 INTF3"
# Determine the address of INTERFACE
ADDRESS="$(</sys/class/net/${INTERFACE}/address)"
--
2.47.2
next prev parent reply other threads:[~2025-07-29 14:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-29 14:42 [PATCH 1/6] linux: Don't create bond0 when bonding is being loaded Michael Tremer
2025-07-29 14:42 ` [PATCH 2/6] network: Add support for bonds Michael Tremer
2025-07-29 14:42 ` [PATCH 3/6] network: Rename the bridge hotplug script Michael Tremer
2025-07-29 14:42 ` [PATCH 4/6] network: Fail if no master device has been configured for slave zones Michael Tremer
2025-07-29 14:42 ` Michael Tremer [this message]
2025-07-29 14:42 ` [PATCH 6/6] network: Ensure that we only run once at a time Michael Tremer
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=20250729144220.1332214-5-michael.tremer@ipfire.org \
--to=michael.tremer@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