mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-17 14:33:00 +02:00
The VLAN devices will now automatically be created after a parent device has been added. Mainly this will resolve a race-condition between udev initialising the network adapters and sysvinit running scripts that will do the initialisation of the VLAN. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 lines
411 B
Plaintext
8 lines
411 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", PROGRAM="/lib/udev/network-hotplug-vlan"
|