2010-05-21 07:48:47 +08:00
|
|
|
# Agents startup file
|
|
|
|
#
|
|
|
|
# This file is sourced at kde startup, so that
|
|
|
|
# the environment variables set here are available
|
|
|
|
# throughout the session.
|
|
|
|
|
|
|
|
# Uncomment the following lines to start gpg-agent
|
|
|
|
# and/or ssh-agent at kde startup.
|
|
|
|
# If you do so, do not forget to uncomment the respective
|
|
|
|
# lines in KDEDIR/shutdown/agent-shutdown.sh to
|
|
|
|
# properly kill the agents when the session ends.
|
|
|
|
|
2015-10-17 02:14:49 +08:00
|
|
|
if [ -x /usr/bin/gpg-agent -a -x /usr/bin/pinentry-qt ]; then
|
|
|
|
/usr/bin/gpg-agent --daemon --pinentry-program /usr/bin/pinentry-qt
|
2010-05-21 07:48:47 +08:00
|
|
|
fi
|
|
|
|
#
|
|
|
|
if [ -x /usr/bin/ssh-agent ]; then
|
|
|
|
eval "$(/usr/bin/ssh-agent -s)"
|
|
|
|
fi
|