#!/bin/sh

set -e


if [ -x "`which update-reader.conf 2>/dev/null`" ] ; then
    update-reader.conf || true
fi


if [ -x "/etc/init.d/pcscd" ]; then
	if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
		invoke-rc.d pcscd start || exit $?
	else
		/etc/init.d/pcscd start || exit $?
	fi
fi
