diff options
Diffstat (limited to 'sys-apps/pcsc-lite/files/99-pcscd-hotplug-r2.rules')
-rw-r--r-- | sys-apps/pcsc-lite/files/99-pcscd-hotplug-r2.rules | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys-apps/pcsc-lite/files/99-pcscd-hotplug-r2.rules b/sys-apps/pcsc-lite/files/99-pcscd-hotplug-r2.rules new file mode 100644 index 000000000000..218417932aa2 --- /dev/null +++ b/sys-apps/pcsc-lite/files/99-pcscd-hotplug-r2.rules @@ -0,0 +1,6 @@ +# 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" |