aboutsummaryrefslogtreecommitdiffstats
path: root/main/pcsc-lite/pcscd.initd
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-03-04 22:26:34 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2014-03-04 22:29:41 +0000
commit9d3a83346a7711b7a88800a202a1b0775d2d2e68 (patch)
treeaaba9710f21f3d6770f6f8b509d4f0693dde038f /main/pcsc-lite/pcscd.initd
parented77a3089e26ad879a1ee60fd045133ac71a75b7 (diff)
downloadaports-9d3a83346a7711b7a88800a202a1b0775d2d2e68.tar.bz2
aports-9d3a83346a7711b7a88800a202a1b0775d2d2e68.tar.xz
main/pcsc-list: upgrade to 1.8.11 and move to main
Diffstat (limited to 'main/pcsc-lite/pcscd.initd')
-rw-r--r--main/pcsc-lite/pcscd.initd23
1 files changed, 23 insertions, 0 deletions
diff --git a/main/pcsc-lite/pcscd.initd b/main/pcsc-lite/pcscd.initd
new file mode 100644
index 0000000000..4208d21f8a
--- /dev/null
+++ b/main/pcsc-lite/pcscd.initd
@@ -0,0 +1,23 @@
+#!/sbin/runscript
+# Copyright 1999-2014 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.7,v 1.1 2014/02/14 23:11:54 flameeyes Exp $
+
+name="PC/SC Daemon"
+
+pidfile=/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 dbus
+ use logger
+}
+
+start_pre() {
+ checkpath -d -m 0755 -o pcscd:pcscd /run/pcscd
+}