]>
Commit | Line | Data |
---|---|---|
7a7d4f39 JR |
1 | #!/bin/sh |
2 | ||
3 | set -e | |
4 | ||
5 | PREREQ="" | |
6 | ||
7 | prereqs() | |
8 | { | |
9 | echo "$PREREQ" | |
10 | } | |
11 | ||
12 | case $1 in | |
13 | prereqs) | |
14 | prereqs | |
15 | exit 0 | |
16 | ;; | |
17 | esac | |
18 | ||
19 | . /scripts/functions | |
20 | ||
21 | # Hook for stopping smartcard reading software | |
22 | ||
23 | if [ ! -e /sbin/pcscd ]; then | |
24 | exit 0 | |
25 | fi | |
26 | ||
27 | # Start pcscd daemon nomrally. If it was started in foregound, chances are | |
28 | # it'll harmlessly complain about missing /var/run/pcscd* files due to the root | |
29 | # filessytem being remounted. | |
30 | start-stop-daemon --stop --quiet --pidfile /var/run/pcscd.pid --name pcscd |