summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-12-05 18:45:32 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-12-05 18:45:32 +0000
commitedd0b30a2e67408d9335bb6700ff158522d4c2aa (patch)
tree1aeead711047655c74af74e14fbd10b690fce72e /sys-apps/pcsc-lite/files
parentFix dependencies. (diff)
downloadhistorical-edd0b30a2e67408d9335bb6700ff158522d4c2aa.tar.gz
historical-edd0b30a2e67408d9335bb6700ff158522d4c2aa.tar.bz2
historical-edd0b30a2e67408d9335bb6700ff158522d4c2aa.zip
Fix udev rules as per bug #347728.
Package-Manager: portage-2.2.0_alpha6/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/pcsc-lite/files')
-rw-r--r--sys-apps/pcsc-lite/files/99-pcscd-hotplug.rules5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys-apps/pcsc-lite/files/99-pcscd-hotplug.rules b/sys-apps/pcsc-lite/files/99-pcscd-hotplug.rules
index 83a1a28c6270..9f83946179b1 100644
--- a/sys-apps/pcsc-lite/files/99-pcscd-hotplug.rules
+++ b/sys-apps/pcsc-lite/files/99-pcscd-hotplug.rules
@@ -1,8 +1,7 @@
-#!/sbin/runscript
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/files/99-pcscd-hotplug.rules,v 1.1 2010/12/04 02:08:39 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/files/99-pcscd-hotplug.rules,v 1.2 2010/12/05 18:45:32 flameeyes Exp $
# 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", GROUP=="pcscd", RUN+="/bin/env IN_HOTPLUG=1 /etc/init.d/pcscd --quiet start"
+ACTION=="add", ENV{PCSCD}=="1", GROUP="pcscd", RUN+="/bin/env IN_HOTPLUG=1 /etc/init.d/pcscd --quiet start"