Files
bpfire/config/udev/60-net.rules
Michael Tremer 64835e022c udev: Fix calling VLAN script
The VLAN hotplugging script was called with a wrong parameter that
should just be used to rename devices. Hence the script was not
correctly executed and did not create the virtual devices.

Fixes: #11009

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-02-28 12:29:45 -08:00

8 lines
408 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"