desktop/kde-common/agent-shutdown.sh
Phil Miller 67af2a3d6d * add support pkgs
* add some kde pkgs
2010-05-20 23:48:47 +00:00

14 lines
299 B
Bash

#!/bin/sh
#
# This file is executed at kde shutdown.
# Uncomment the following lines to kill the agents
# that were started at session startup.
if [ "${GPG_AGENT_INFO}" ]; then
kill $(echo ${GPG_AGENT_INFO} | cut -d':' -f 2) >/dev/null 2>&1
fi
#
if [ "${SSH_AGENT_PID}" ]; then
ssh-agent -k
fi