/[gentoo-x86]/sys-apps/pcsc-lite/files/pcscd-init.4
Gentoo

Contents of /sys-apps/pcsc-lite/files/pcscd-init.4

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Jun 26 21:35:46 2012 UTC (10 months, 3 weeks ago) by flameeyes
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version bump and remove old.

(Portage version: 2.2.0_alpha113/cvs/Linux x86_64)

1 #!/sbin/runscript
2 # Copyright 1999-2011 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4 # $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/files/pcscd-init.4,v 1.2 2011/08/01 08:49:05 flameeyes Exp $
5
6 depend() {
7 need localmount
8
9 after udev openct
10 }
11
12 start() {
13 [ -d /var/run/pcscd ] || mkdir -p /var/run/pcscd
14
15 chown pcscd:pcscd /var/run/pcscd
16 chmod 0755 /var/run/pcscd
17
18 ebegin "Starting pcscd"
19 start-stop-daemon --start \
20 --exec /usr/sbin/pcscd \
21 --pidfile /var/run/pcscd/pcscd.pid \
22 --user pcscd:pcscd \
23 -- ${EXTRA_OPTS}
24 eend $?
25 }
26
27 stop() {
28 ebegin "Stopping pcscd"
29 start-stop-daemon --stop \
30 --exec /usr/sbin/pcscd \
31 --pidfile /var/run/pcscd/pcscd.pid
32 eend $?
33 }

  ViewVC Help
Powered by ViewVC 1.1.13