]> git.pld-linux.org Git - packages/opensc.git/blame - opensc-initramfs-local-top
- added initramfs support files to package
[packages/opensc.git] / opensc-initramfs-local-top
CommitLineData
7a7d4f39
JR
1#!/bin/sh
2
3set -e
4
5PREREQ=""
6
7prereqs()
8{
9 echo "$PREREQ"
10}
11
12case $1 in
13 prereqs)
14 prereqs
15 exit 0
16 ;;
17esac
18
19. /scripts/functions
20
21# Hook for starting smartcard reading software
22
23if [ ! -e /sbin/pcscd ]; then
24 exit 0
25fi
26
27# Start pcscd daemon nomrally:
28# start-stop-daemon --start --quiet \
29# --pidfile /var/run/pcscd.pid \
30# --exec /sbin/pcscd
31# Alternatively, start pcscd daemon in foreground so that it's pretty colored
32# output may be seen on the console, useful for watching error messages since
33# pcscd uses syslog which is not available (use --error or --critical to filter
34# out debug message clutter):
35# /sbin/pcscd --error --foreground &
36/sbin/pcscd --foreground &
This page took 0.047013 seconds and 4 git commands to generate.