add PKCS11_MODULE depending on location

This commit is contained in:
Jakobus Schürz 2020-10-27 11:15:30 +01:00
parent 6f06839fb2
commit 066c57c091

View file

@ -64,6 +64,9 @@ if [[ $- = *i* ]] ; then
# load logging functions
. ${MYSHELLCONFIG_BASE}/logging
# PKCS11_MODULE for etoken/smartcard authentification
[ -n "$(whereis p11-kit-proxy.so|awk '{print $2}')" ] && PKCS11_MODULE=$(whereis p11-kit-proxy.so|awk '{print $2}')
cat << EOF >> "${MYSHELLCONFIG_LOGFILE}"
==8<=== start configure new shell ============== $(date) ===============8<==