summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Jackson <iggy@gentoo.org>2003-08-03 04:39:04 +0000
committerBrian Jackson <iggy@gentoo.org>2003-08-03 04:39:04 +0000
commit14b765e35c63dc66cfe57b0cf33abfc5fbf440e1 (patch)
tree7a0e218d206d85864048067e70ee618e3b1dbd6e /sys-apps/pcsc-lite/files
parentGentoo style init script fixes bug # 15524 (diff)
downloadgentoo-2-14b765e35c63dc66cfe57b0cf33abfc5fbf440e1.tar.gz
gentoo-2-14b765e35c63dc66cfe57b0cf33abfc5fbf440e1.tar.bz2
gentoo-2-14b765e35c63dc66cfe57b0cf33abfc5fbf440e1.zip
Gentoo style init script fixes bug # 15524
Diffstat (limited to 'sys-apps/pcsc-lite/files')
-rw-r--r--sys-apps/pcsc-lite/files/pcscd-init16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys-apps/pcsc-lite/files/pcscd-init b/sys-apps/pcsc-lite/files/pcscd-init
new file mode 100644
index 000000000000..3a63bc80b2af
--- /dev/null
+++ b/sys-apps/pcsc-lite/files/pcscd-init
@@ -0,0 +1,16 @@
+#!/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 $
+
+start() {
+ ebegin "Starting pcscd"
+ start-stop-daemon --start --quiet --background --exec /usr/sbin/pcscd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping pcscd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/pcscd
+ eend $?
+}