mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-20 15:10:38 +01:00
udev-rules: only invoke ethtool for existing interfaces
ethtool may cause the auto-loading of a kernel module for non-existing
interface-names. Avoid that by checking whether such an interface exists.
(cherry picked from commit 9366bd7f90)
This commit is contained in:
parent
5a422d385e
commit
2853fa9a42
1 changed files with 1 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
# To override or extend the rules place a file in /etc/udev/rules.d
|
||||
|
||||
SUBSYSTEM!="net", GOTO="nm_unmanaged_end"
|
||||
ACTION!="add|change", GOTO="nm_unmanaged_end"
|
||||
|
||||
# Determine ID_NET_DRIVER if there's no ID_NET_DRIVER or DRIVERS (old udev?)
|
||||
ENV{ID_NET_DRIVER}=="?*", GOTO="nm_unmanaged_driver"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue