From 066c57c0919a88aec218100c3840710d9d8a811c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Tue, 27 Oct 2020 11:15:30 +0100 Subject: [PATCH] add PKCS11_MODULE depending on location --- bashrc_add | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bashrc_add b/bashrc_add index 4858301..597c6c5 100755 --- a/bashrc_add +++ b/bashrc_add @@ -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<==