]>
Commit | Line | Data |
---|---|---|
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" |