|
|
@ -25,12 +25,14 @@ var_append confopt ' ' "--enable-debug --enable-debugatr" |
|
|
|
post_pcsc() { |
|
|
|
# mkdir -p /usr/local/pcsc/drivers |
|
|
|
|
|
|
|
cat << EOT > /etc/devfsd.d/pcsc |
|
|
|
if pkginstalled devfsd ; then |
|
|
|
cat << EOT > /etc/devfsd.d/pcsc |
|
|
|
# Let's assume in the default config that every tts is a pcsc device. |
|
|
|
# |
|
|
|
REGISTER ^tts/([0-9]+)$ CFUNCTION GLOBAL mksymlink ../tts/\1 pcsc/\1 |
|
|
|
UNREGISTER ^tts/([0-9]+)$ CFUNCTION GLOBAL unlink pcsc/\1 |
|
|
|
EOT |
|
|
|
fi |
|
|
|
|
|
|
|
echo "Installing start-stop script" |
|
|
|
install_init pcscd $confdir/pcscd.init |
|
|
|