From patchwork Tue Jul 29 14:42:17 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 8963 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4bryk56QZ4z3xP7 for ; Tue, 29 Jul 2025 14:42:37 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "E6" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4bryk26jZMz75w for ; Tue, 29 Jul 2025 14:42:34 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4bryk13jB9z34RT for ; Tue, 29 Jul 2025 14:42:33 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4bryjy4B8wz34BB for ; Tue, 29 Jul 2025 14:42:30 +0000 (UTC) Received: from michael.haj.ipfire.org (michael.haj.ipfire.org [172.28.1.242]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "michael.haj.ipfire.org", Issuer "E5" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4bryjx66dHz1TH; Tue, 29 Jul 2025 14:42:29 +0000 (UTC) Received: by michael.haj.ipfire.org (Postfix, from userid 0) id 4bryjx5G6gzTgkJ; Tue, 29 Jul 2025 14:42:29 +0000 (UTC) From: Michael Tremer To: development@lists.ipfire.org Cc: Michael Tremer Subject: [PATCH 3/6] network: Rename the bridge hotplug script Date: Tue, 29 Jul 2025 14:42:17 +0000 Message-ID: <20250729144220.1332214-3-michael.tremer@ipfire.org> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250729144220.1332214-1-michael.tremer@ipfire.org> References: <20250729144220.1332214-1-michael.tremer@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Since it is now creating more than just bridges, this had to have a new name. Signed-off-by: Michael Tremer --- config/rootfiles/common/udev | 2 +- config/udev/60-net.rules | 4 ++-- .../udev/{network-hotplug-bridges => network-hotplug-master} | 0 lfs/udev | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) rename config/udev/{network-hotplug-bridges => network-hotplug-master} (100%) diff --git a/config/rootfiles/common/udev b/config/rootfiles/common/udev index 3eea43718..94da6f772 100644 --- a/config/rootfiles/common/udev +++ b/config/rootfiles/common/udev @@ -49,7 +49,7 @@ lib/udev/hwdb.d lib/udev/iocost lib/udev/mtd_probe lib/udev/network-aqm -lib/udev/network-hotplug-bridges +lib/udev/network-hotplug-master lib/udev/network-hotplug-rename lib/udev/network-hotplug-vlan lib/udev/network-offloading diff --git a/config/udev/60-net.rules b/config/udev/60-net.rules index fff7513bc..f4850b9dd 100644 --- a/config/udev/60-net.rules +++ b/config/udev/60-net.rules @@ -6,5 +6,5 @@ ACTION=="add", SUBSYSTEM=="net", PROGRAM="/lib/udev/network-hotplug-rename", RES # that has just come up. ACTION=="add", SUBSYSTEM=="net", RUN+="/lib/udev/network-hotplug-vlan" -# Call a script that will set up zones as bridges -ACTION=="add", SUBSYSTEM=="net", RUN+="/lib/udev/network-hotplug-bridges" +# Call a script that will set up interfaces that have a master interface (bridges, bonding, ..) +ACTION=="add", SUBSYSTEM=="net", RUN+="/lib/udev/network-hotplug-master" diff --git a/config/udev/network-hotplug-bridges b/config/udev/network-hotplug-master similarity index 100% rename from config/udev/network-hotplug-bridges rename to config/udev/network-hotplug-master diff --git a/lfs/udev b/lfs/udev index 19e0557a3..2b1be02cd 100644 --- a/lfs/udev +++ b/lfs/udev @@ -148,8 +148,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) /lib/udev/network-hotplug-rename install -v -m 755 $(DIR_SRC)/config/udev/network-hotplug-vlan \ /lib/udev/network-hotplug-vlan - install -v -m 755 $(DIR_SRC)/config/udev/network-hotplug-bridges \ - /lib/udev/network-hotplug-bridges + install -v -m 755 $(DIR_SRC)/config/udev/network-hotplug-master \ + /lib/udev/network-hotplug-master install -v -m 644 $(DIR_SRC)/config/udev/60-net.rules \ /lib/udev/rules.d