add PKCS11_MODULE depending on location
This commit is contained in:
parent
6f06839fb2
commit
066c57c091
1 changed files with 3 additions and 0 deletions
|
@ -64,6 +64,9 @@ if [[ $- = *i* ]] ; then
|
||||||
# load logging functions
|
# load logging functions
|
||||||
. ${MYSHELLCONFIG_BASE}/logging
|
. ${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}"
|
cat << EOF >> "${MYSHELLCONFIG_LOGFILE}"
|
||||||
==8<=== start configure new shell ============== $(date) ===============8<==
|
==8<=== start configure new shell ============== $(date) ===============8<==
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue