diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-20 01:11:08 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-20 01:11:08 +0000 |
commit | cbaaf65cf307140f0ad15edf7cef174b7c350e30 (patch) | |
tree | 074c45696529ac9af51c73ea66ee19fe07ebfe9e /sys-apps/pcsc-lite/files | |
parent | make sure libshadow isnt installed and cleanup securetty additions based on arch (diff) | |
download | gentoo-2-cbaaf65cf307140f0ad15edf7cef174b7c350e30.tar.gz gentoo-2-cbaaf65cf307140f0ad15edf7cef174b7c350e30.tar.bz2 gentoo-2-cbaaf65cf307140f0ad15edf7cef174b7c350e30.zip |
Make sure we remove run files before trying to start or pcscd will abort #99505 by Alon Bar-Lev.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-apps/pcsc-lite/files')
-rw-r--r-- | sys-apps/pcsc-lite/files/pcscd-confd | 4 | ||||
-rw-r--r-- | sys-apps/pcsc-lite/files/pcscd-init | 8 |
2 files changed, 9 insertions, 3 deletions
diff --git a/sys-apps/pcsc-lite/files/pcscd-confd b/sys-apps/pcsc-lite/files/pcscd-confd new file mode 100644 index 000000000000..47f71289c35a --- /dev/null +++ b/sys-apps/pcsc-lite/files/pcscd-confd @@ -0,0 +1,4 @@ +# /etc/conf.d/pcscd + +# Options to pass to pcscd, see pcscd(8) manpage +PCSCD_OPTS="" diff --git a/sys-apps/pcsc-lite/files/pcscd-init b/sys-apps/pcsc-lite/files/pcscd-init index 05aec14b9163..19b3d58f081f 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-2004 Gentoo Foundation +# 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.3 2004/07/15 00:47:27 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/files/pcscd-init,v 1.4 2005/07/20 01:11:08 vapier 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 $? } |