summaryrefslogtreecommitdiffstats
path: root/rules.d/75-net-description.rules
diff options
context:
space:
mode:
Diffstat (limited to 'rules.d/75-net-description.rules')
-rw-r--r--rules.d/75-net-description.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.d/75-net-description.rules b/rules.d/75-net-description.rules
index 7e62f8b..5ba70a6 100644
--- a/rules.d/75-net-description.rules
+++ b/rules.d/75-net-description.rules
@@ -3,6 +3,8 @@
ACTION=="remove", GOTO="net_end"
SUBSYSTEM!="net", GOTO="net_end"
+IMPORT{builtin}="hwdb 'net:naming:dr$env{ID_NET_DRIVER}:'"
+
IMPORT{builtin}="net_id"
SUBSYSTEMS=="usb", IMPORT{builtin}="usb_id", IMPORT{builtin}="hwdb --subsystem=usb"