]> git.pld-linux.org Git - packages/pcsc-lite.git/blame - pcscd.upstart
- sorted BRs
[packages/pcsc-lite.git] / pcscd.upstart
CommitLineData
5573ec9c
ER
1description "PC/SC Smartcard daemon"
2
3# Note! pcscd should be started after pcmcia, and shut down before it
4# for smooth experience with PCMCIA readers.
5
6# Set defaults
7env LOGLEVEL=""
8env PCSCD_OPTIONS=""
9
10respawn
11expect fork
12
13script
14 [ -f /etc/sysconfig/pcscd ] && . /etc/sysconfig/pcscd
15
16 local logopt
17 case "$LOGLEVEL" in
18 debug|info|error|critical)
19 logopt=--$LOGLEVEL
20 ;;
21 esac
22
23 exec /usr/sbin/pcscd $logopt $PCSCD_OPTIONS
24end script
This page took 0.267166 seconds and 4 git commands to generate.