diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2015-03-20 12:28:12 +0100 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-04-12 11:18:38 -0400 |
commit | 7457718859e2a1cbd3a4ebd50413ce00276027c8 (patch) | |
tree | 4dbc68bb04401d94e7c172ac37cf8068349e9447 /rules/75-net-description.rules | |
parent | d8e2e4c3a4d022b2a9404d8230cfd280df8c3f3c (diff) |
rules: avoid 'device/' accesses
We should never access parents, as the sysfs hierarchy is in no way
stable. Use KERNELS== etc. to match on a parent, then access it via
$attr{} (which accesses the matching device, not the current device).
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'rules/75-net-description.rules')
0 files changed, 0 insertions, 0 deletions