Files
bpfire/config/udev/60-net.rules
Michael Tremer 600b99fb31 network: Configure device names from /var/ipfire/ethernet/settings
Instead of creating a copy of the configuration values and
for better extensibility, we will have udev execute a script
that parses /var/ipfire/ethernet/settings and will return the
correct name of the corresponding device (green0, blue0, ...).
2015-03-09 16:31:59 +01:00

4 lines
238 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"