gentoo-ebuilds/sys-apps/pcsc-lite/files/99-pcscd-hotplug-r2.rules
Thibaud CANALE 823568f4fe
sys-apps/pcsc-lite: fix udev rule for pcscd hotplug, #902847
Closes: https://bugs.gentoo.org/902847
Closes: https://github.com/gentoo/gentoo/pull/36964
Signed-off-by: Thibaud CANALE <thican@thican.net>
Signed-off-by: David Seifert <soap@gentoo.org>
2024-06-02 12:22:28 +02:00

6 lines
377 B
Text

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# We add this here so that it runs after ccid's and ifd-gempc's rules;
# if we just added a pcscd-owned device, we hotplug the pcscd service.
ACTION=="add", ENV{ID_SMARTCARD_READER}=="1", GROUP="pcscd", TAG+="systemd", ENV{SYSTEMD_WANTS}+="pcscd.service", RUN+="pcscd.sh"