d1cd1ab670b08bc248bcba69c0046b844d35c188
[packages/opensc.git] / opensc-initramfs-local-bottom
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
This page took 0.051256 seconds and 2 git commands to generate.