blob: 58d4a1969347a33dde8509c51c081b3d9db2b5fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/sbin/runscript
# Copyright 1999-2010 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.2,v 1.1 2010/09/28 23:37:16 flameeyes Exp $
depend() {
# ensure there is at least one dependency or if the following
# is removed we're stuck with a broken init
need localmount
need hald
}
start() {
ebegin "Starting pcscd"
start-stop-daemon --start \
--exec /usr/sbin/pcscd \
--pidfile /var/run/pcscd/pcscd.pid \
-- ${PCSCD_OPTS}
eend $?
}
stop() {
ebegin "Stopping pcscd"
start-stop-daemon --stop \
--exec /usr/sbin/pcscd \
--pidfile /var/run/pcscd/pcscd.pid
eend $?
}
|