diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-05-20 00:35:30 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-05-21 09:23:06 +0200 |
commit | 1b1b7b44ccbc68f49ce0da5ee1aaeb32587f2a49 (patch) | |
tree | 980f35773160f121ac679d8cdb1bec2f8044f477 /rules.d | |
parent | Merge pull request #15870 from poettering/proc-cmdline-efi-fix (diff) | |
download | systemd-1b1b7b44ccbc68f49ce0da5ee1aaeb32587f2a49.tar.xz systemd-1b1b7b44ccbc68f49ce0da5ee1aaeb32587f2a49.zip |
rules: automatically pull in smartcard.target from all CCID devices
We apparently never matched the USB interface class. Let's fix that.
Prompted by: #15676
Diffstat (limited to 'rules.d')
-rw-r--r-- | rules.d/99-systemd.rules.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.d/99-systemd.rules.in b/rules.d/99-systemd.rules.in index c34b606216..1c60eec587 100644 --- a/rules.d/99-systemd.rules.in +++ b/rules.d/99-systemd.rules.in @@ -49,6 +49,7 @@ SUBSYSTEM=="net", KERNEL!="lo", TAG+="systemd", ENV{SYSTEMD_ALIAS}+="/sys/subsys SUBSYSTEM=="bluetooth", TAG+="systemd", ENV{SYSTEMD_ALIAS}+="/sys/subsystem/bluetooth/devices/%k" SUBSYSTEM=="bluetooth", TAG+="systemd", ENV{SYSTEMD_WANTS}+="bluetooth.target", ENV{SYSTEMD_USER_WANTS}+="bluetooth.target" +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0b????:*", ENV{ID_SMARTCARD_READER}="1" ENV{ID_SMARTCARD_READER}=="?*", TAG+="systemd", ENV{SYSTEMD_WANTS}+="smartcard.target", ENV{SYSTEMD_USER_WANTS}+="smartcard.target" SUBSYSTEM=="sound", KERNEL=="card*", TAG+="systemd", ENV{SYSTEMD_WANTS}+="sound.target", ENV{SYSTEMD_USER_WANTS}+="sound.target" |