mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2026-01-18 08:47:54 +01:00
{bash,zsh}rc#fineid alias: add untested support for Atostek ID
This commit is contained in:
parent
53da1bbed3
commit
0368e3a1d1
@ -488,8 +488,13 @@ alias cwho="who -H -w -u"
|
|||||||
#alias inxi-update="inxi -U"
|
#alias inxi-update="inxi -U"
|
||||||
|
|
||||||
# FINEID to ssh-agent
|
# FINEID to ssh-agent
|
||||||
alias fineid="ssh-add -s /usr/lib64/libcryptoki.so"
|
if [ -f "/usr/lib64/libcryptoki.so" ]; then
|
||||||
|
alias fineid="ssh-add -s /usr/lib64/libcryptoki.so"
|
||||||
|
elif [ -f "/usr/lib64/Atostek-ID-PKCS11.so" ]; then
|
||||||
|
alias fineid="ssh-add -s /usr/lib64/Atostek-ID-PKCS11.so"
|
||||||
|
else
|
||||||
|
alias fineid="echo 'No FINEID library found'"
|
||||||
|
fi
|
||||||
# OS X
|
# OS X
|
||||||
# What is this?
|
# What is this?
|
||||||
#alias osx-server-caching-interface="serveradmin settings caching:Interface ="
|
#alias osx-server-caching-interface="serveradmin settings caching:Interface ="
|
||||||
|
|||||||
8
rc/zshrc
8
rc/zshrc
@ -476,7 +476,13 @@ alias cwho="who -H -w -u"
|
|||||||
#alias inxi-update="inxi -U"
|
#alias inxi-update="inxi -U"
|
||||||
|
|
||||||
# FINEID to ssh-agent
|
# FINEID to ssh-agent
|
||||||
alias fineid="ssh-add -s /usr/lib64/libcryptoki.so"
|
if [ -f "/usr/lib64/libcryptoki.so" ]; then
|
||||||
|
alias fineid="ssh-add -s /usr/lib64/libcryptoki.so"
|
||||||
|
elif [ -f "/usr/lib64/Atostek-ID-PKCS11.so" ]; then
|
||||||
|
alias fineid="ssh-add -s /usr/lib64/Atostek-ID-PKCS11.so"
|
||||||
|
else
|
||||||
|
alias fineid="echo 'No FINEID library found'"
|
||||||
|
fi
|
||||||
|
|
||||||
# OS X
|
# OS X
|
||||||
# What is this?
|
# What is this?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user