From: Michael Tremer Date: Tue, 29 Jul 2025 14:42:17 +0000 (+0000) Subject: network: Rename the bridge hotplug script X-Git-Tag: v2.29-core197~25^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5152d450ff943eeea0be1c0aa1bcc87e1c89755a;p=ipfire-2.x.git network: Rename the bridge hotplug script Since it is now creating more than just bridges, this had to have a new name. Signed-off-by: Michael Tremer --- 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