summaryrefslogtreecommitdiff
path: root/kde-plasma/plasma-workspace/files/10-agent-shutdown.sh
blob: 614b38f52886594a29b632cf14a644679ec392fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
#
# This file is executed at Plasma shutdown.
# Uncomment the following lines to kill the agents
# that were started at session startup.

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

# >=gnupg-2.1.x
#gpgconf --kill gpg-agent >/dev/null 2>&1

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