diff options
Diffstat (limited to 'sys-apps/pcsc-lite/files/pcscd-init.5')
-rw-r--r-- | sys-apps/pcsc-lite/files/pcscd-init.5 | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sys-apps/pcsc-lite/files/pcscd-init.5 b/sys-apps/pcsc-lite/files/pcscd-init.5 new file mode 100644 index 000000000000..ce4cbee21c66 --- /dev/null +++ b/sys-apps/pcsc-lite/files/pcscd-init.5 @@ -0,0 +1,23 @@ +#!/sbin/runscript +# Copyright 1999-2011 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.5,v 1.1 2011/10/21 23:00:47 flameeyes Exp $ + +name="PC/SC Daemon" + +pidfile=/var/run/pcscd/pcscd.pid + +command=/usr/sbin/pcscd +command_args="${EXTRA_OPTS}" + +start_stop_daemon_args="--user pcscd:pcscd" + +depend() { + need localmount + + after udev openct +} + +start_pre() { + checkpath -d -m 0755 -o pcscd:pcscd /var/run/pcscd +} |