summaryrefslogtreecommitdiff
path: root/sys-apps/pcsc-lite/files/99-pcscd-hotplug.rules
blob: e6ee464344ffb7d60b36ebb474c704d0e39ffdde (plain)
1
2
3
4
5
6
# Copyright 1999-2010 Gentoo Foundation
# 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{PCSCD}=="1", GROUP="pcscd", RUN+="/bin/env IN_HOTPLUG=1 /etc/init.d/pcscd --quiet start"