Hi Kristian, it is not the reader (USB Device) which is removed. It is the Card in the reader. I would not know how to monitor this with udev. Is this possible ?
Best regards Dirk On 06.01.2017 10:30, Kristian Fiskerstrand wrote: On 01/06/2017 10:06 AM, gnupg-users.d...@o.banes.ch wrote: > p.s. in the meantime a made a script which tails the scdaemon.log and > waits for "Removal of a card:" > and then kills the gpg-agent. Not a proper solution - but working so far. Why not use udev rule to watch for removal event? _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users