start pcscd if installed

This commit is contained in:
Jakob Schlyter 2022-04-24 11:08:51 +02:00
parent 6ee48ca631
commit 66ba6048a4

View file

@ -53,6 +53,10 @@ function step_ca_init () {
mv $STEPPATH/password $PWDPATH
}
if [ -f /usr/sbin/pcscd ]; then
/usr/sbin/pcscd
fi
if [ ! -f "${STEPPATH}/config/ca.json" ]; then
init_if_possible
fi