It may be a good idea to create a script that generates the basic contents for /etc/opencryptoki.conf.
The config file can then be further customized by sysadmin. This is to make it easier to
transistion to the config file.
Either add something to pkcsslotd or parser.y such that it stats the stdll to determine if it is really present or not.
Or add a script that generates the opencryptoki.conf. For now we are installing a default opencryptoki.conf that has all the tokens. Problem is it marks them all as present even if they are not.