viktorTarasov/OpenSC — comment on commit 62bda63bd66c4849c0ca4303a9682fb6f6bacd7d
File: src/pkcs11/slot.c line 304
By viktorTarasov:

By default the 'plug_and_play' is enabled.

For 'unplug' event the 'plug_and_play' setting doesn't matter -- slots are removed in both cases.
'Plug-in' event needs this setting enabled.