udev-rules: only invoke ethtool for existing interfaces
authorBeniamino Galvani <bgalvani@redhat.com>
Thu, 6 Aug 2015 14:57:15 +0000 (16:57 +0200)
committerThomas Haller <thaller@redhat.com>
Tue, 11 Aug 2015 16:31:46 +0000 (18:31 +0200)
commit44fee0f6fff42773aa73a9a46220db697907751f
treeaf78d02d48c3525868a37d99d2e9a722dca07adc
parentab41c13b0611c6cc967b055d328637a143b5c59b
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.
data/85-nm-unmanaged.rules