summaryrefslogtreecommitdiffstats
path: root/gentoo/trinity-base/kdebase-starttde/files/agent-shutdown.sh
blob: 07cf74772b5bbd7cdab0297984dc4c4fafa23a57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
#
# This file is executed at kde shutdown.
# Uncomment the following lines to kill the agents
# that were started at session startup.

#if [ -n "${GPG_AGENT_INFO}" ]; then
#  kill $(echo ${GPG_AGENT_INFO} | cut -d':' -f 2) >/dev/null 2>&1
#fi

#if [ -n "${SSH_AGENT_PID}" ]; then
#  eval "$(ssh-agent -s -k)"
#fi