mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
This script is creating common bridges now, too and therefore needs a more generic name. Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
11 lines
533 B
Plaintext
11 lines
533 B
Plaintext
# Call a script that checks for the right name of the new device.
|
|
# If it matches the configuration it will be renamed accordingly.
|
|
ACTION=="add", SUBSYSTEM=="net", PROGRAM="/lib/udev/network-hotplug-rename", RESULT=="?*", NAME="$result"
|
|
|
|
# Call a script that will create all virtual devices for a parent device
|
|
# 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"
|