]> git.ipfire.org Git - thirdparty/systemd.git/blame - rules.d/75-net-description.rules
Merge pull request #30284 from YHNdnzj/fstab-wantedby-defaultdeps
[thirdparty/systemd.git] / rules.d / 75-net-description.rules
CommitLineData
5a92fd9c
DW
1# do not edit this file, it will be overwritten on update
2
4b06c409 3ACTION=="remove", GOTO="net_end"
5a92fd9c
DW
4SUBSYSTEM!="net", GOTO="net_end"
5
3b2e7dc5
LN
6IMPORT{builtin}="hwdb 'net:naming:dr$env{ID_NET_DRIVER}:'"
7
a660c63c 8IMPORT{builtin}="net_id"
44affdc5 9
a660c63c 10SUBSYSTEMS=="usb", IMPORT{builtin}="usb_id", IMPORT{builtin}="hwdb --subsystem=usb"
5a92fd9c
DW
11SUBSYSTEMS=="usb", GOTO="net_end"
12
5a92fd9c 13SUBSYSTEMS=="pci", ENV{ID_BUS}="pci", ENV{ID_VENDOR_ID}="$attr{vendor}", ENV{ID_MODEL_ID}="$attr{device}"
44affdc5 14SUBSYSTEMS=="pci", IMPORT{builtin}="hwdb --subsystem=pci"
a660c63c 15
5a92fd9c 16LABEL="net_end"