diff options
Diffstat (limited to 'sys-apps/pcsc-lite/files/pcscd-init')
-rw-r--r-- | sys-apps/pcsc-lite/files/pcscd-init | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys-apps/pcsc-lite/files/pcscd-init b/sys-apps/pcsc-lite/files/pcscd-init index 3a63bc80b2af..09fea210ecb5 100644 --- a/sys-apps/pcsc-lite/files/pcscd-init +++ b/sys-apps/pcsc-lite/files/pcscd-init @@ -1,11 +1,13 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/files/pcscd-init,v 1.1 2003/08/03 04:37:47 iggy Exp $ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/files/pcscd-init,v 1.1.1.1 2005/11/30 09:56:15 chriswhite Exp $ start() { + # pcscd won't start if these exist + rm -f /var/run/pcscd.{comm,pub} ebegin "Starting pcscd" - start-stop-daemon --start --quiet --background --exec /usr/sbin/pcscd + /usr/sbin/pcscd ${PCSCD_OPTS} eend $? } |