summaryrefslogtreecommitdiff
path: root/sys-apps/pcsc-lite/files/99-pcscd-hotplug-r2.rules
blob: 218417932aa212ecc92c3f1fa63711bf173493bd (plain)
1
2
3
4
5
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"