]> git.ipfire.org Git - people/ms/network.git/blame - src/udev/rules.d/60-net.rules
Use autotools.
[people/ms/network.git] / src / udev / rules.d / 60-net.rules
CommitLineData
a1a8f0f4
MT
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.
8c63fa13 5ACTION=="add", SUBSYSTEM=="net", PROGRAM="/usr/lib/udev/network-hotplug-rename", RESULT=="?*", NAME="$result"
a1a8f0f4
MT
6
7# Handle all plugged-in devices.
8c63fa13 8SUBSYSTEM=="net", RUN+="/usr/lib/udev/network-hotplug"
95416c1e
MT
9
10# Handle all serial devices (like modems and so on...).
cd8ac7ca 11KERNEL=="ttyUSB*", ENV{NETWORK_USB_SERIAL_DEVICE_IGNORE}!="1", RUN+="/usr/lib/udev/network-hotplug-serial"