5 |
# if we just added a pcscd-owned device, we hotplug the pcscd service. |
5 |
# if we just added a pcscd-owned device, we hotplug the pcscd service. |
6 |
ACTION=="add", ENV{PCSCD}=="1", GROUP="pcscd", RUN+="/bin/env IN_HOTPLUG=1 /etc/init.d/pcscd --quiet start" |
6 |
ACTION=="add", ENV{PCSCD}=="1", GROUP="pcscd", RUN+="/bin/sh -c '/etc/init.d/pcscd --quiet status || IN_HOTPLUG=1 /etc/init.d/pcscd --quiet start'" |