summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-plasma/plasma-workspace/files/agent-shutdown.sh')
-rw-r--r--kde-plasma/plasma-workspace/files/agent-shutdown.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/kde-plasma/plasma-workspace/files/agent-shutdown.sh b/kde-plasma/plasma-workspace/files/agent-shutdown.sh
new file mode 100644
index 000000000000..fff8056df2cf
--- /dev/null
+++ b/kde-plasma/plasma-workspace/files/agent-shutdown.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# This file is executed at plasma 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