Commit graph

2 commits

Author SHA1 Message Date
Beniamino Galvani
fd387d1017 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.

This is inherently racy.

(cherry picked from commit 44fee0f6ff)
2015-08-11 18:38:56 +02:00
Lubomir Rintel
5c187b9b1c data: add udev rules to make emulated ethernet devices default unmanaged
There are some out-of-tree drivers that create devices masquerading as
ethernets which are supposed to use their own management tools. Avoid touching
them.

The rules should be run after 80-net-setup-link.rules, so that the
ID_NET_DRIVER is set.

(cherry picked from commit 7ba30cfd26)
2015-06-17 13:39:42 +02:00