mirror of
https://github.com/troglobit/finit.git
synced 2026-10-05 07:13:44 +07:00
Add 27 stock rules installed to /lib/udev/rules.d/. Rules invoking /lib/udev/<helper> fall back to keventd builtins (path_id, usb_id, blkid, hwdb, kmod, net_id, input_id) when the helper binary is absent; user-supplied helpers in /lib/udev/ still take precedence. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
19 lines
600 B
Plaintext
19 lines
600 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Derived from eudev 3.2.14 rules/75-net-description.rules
|
|
# Modifications by the Finit project: none
|
|
#
|
|
# do not edit this file, it will be overwritten on update
|
|
|
|
ACTION=="remove", GOTO="net_end"
|
|
SUBSYSTEM!="net", GOTO="net_end"
|
|
|
|
IMPORT{builtin}="net_id"
|
|
|
|
SUBSYSTEMS=="usb", IMPORT{builtin}="usb_id", IMPORT{builtin}="hwdb --subsystem=usb"
|
|
SUBSYSTEMS=="usb", GOTO="net_end"
|
|
|
|
SUBSYSTEMS=="pci", ENV{ID_BUS}="pci", ENV{ID_VENDOR_ID}="$attr{vendor}", ENV{ID_MODEL_ID}="$attr{device}"
|
|
SUBSYSTEMS=="pci", IMPORT{builtin}="hwdb --subsystem=pci"
|
|
|
|
LABEL="net_end"
|