]> git.ipfire.org Git - people/stevee/network.git/blob - udev/rules.d/60-net.rules
78d6963b08bbdca5be8672d544d27b9d76c16faa
[people/stevee/network.git] / udev / rules.d / 60-net.rules
1
2 # Call a script that checks for the right name of the new device.
3 # It is either renamed to match an existing configuration or gets
4 # a new name.
5 ACTION=="add", SUBSYSTEM=="net", PROGRAM="/usr/lib/udev/network-hotplug-rename", RESULT=="?*", NAME="$result"
6
7 # Handle all plugged-in devices.
8 SUBSYSTEM=="net", RUN+="/usr/lib/udev/network-hotplug"
9
10 # Handle all serial devices (like modems and so on...).
11 KERNEL=="ttyUSB*", ENV{NETWORK_USB_SERIAL_DEVICE_IGNORE}!="1", RUN+="/usr/lib/udev/network-hotplug-serial"