mirror of
https://github.com/troglobit/finit.git
synced 2026-10-21 11:29:42 +00: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
631 B
Plaintext
19 lines
631 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Derived from eudev 3.2.14 rules/60-fido-id.rules
|
|
# Modifications by the Finit project: none
|
|
#
|
|
# do not edit this file, it will be overwritten on update
|
|
|
|
ACTION=="remove", GOTO="fido_id_end"
|
|
|
|
SUBSYSTEM=="hidraw", IMPORT{program}="fido_id"
|
|
|
|
# Tag any form of security token as such
|
|
ENV{ID_SECURITY_TOKEN}=="1", TAG+="security-device"
|
|
|
|
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0b????:*", ENV{ID_SMARTCARD_READER}="1"
|
|
# Tag any CCID device (i.e. Smartcard Reader) as security token
|
|
ENV{ID_SMARTCARD_READER}=="1", TAG+="security-device"
|
|
|
|
LABEL="fido_id_end"
|