]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
network: Rename the bridge hotplug script
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 29 Jul 2025 14:42:17 +0000 (14:42 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 4 Aug 2025 15:43:45 +0000 (15:43 +0000)
Since it is now creating more than just bridges, this had to have a new
name.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/common/udev
config/udev/60-net.rules
config/udev/network-hotplug-master [moved from config/udev/network-hotplug-bridges with 100% similarity]
lfs/udev

index 3eea437188f00e5afa65cf5df7c243281a570689..94da6f772217bd5fce2de7d29c92badca7ed79f7 100644 (file)
@@ -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
index fff7513bc1421be79e6e952d739dc1d91a0bc281..f4850b9dd5b3fb371a69b8afdd596dd7d5433fc6 100644 (file)
@@ -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"
index 19e0557a308f14a78b8bea62286eefd1184f4893..2b1be02cd5459d0b6c4e1d53f430bcf0c398b4de 100644 (file)
--- 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