summaryrefslogtreecommitdiffstats
path: root/gentoo/trinity-base/tdebase-starttde/files/agent-shutdown.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gentoo/trinity-base/tdebase-starttde/files/agent-shutdown.sh')
-rw-r--r--gentoo/trinity-base/tdebase-starttde/files/agent-shutdown.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/gentoo/trinity-base/tdebase-starttde/files/agent-shutdown.sh b/gentoo/trinity-base/tdebase-starttde/files/agent-shutdown.sh
new file mode 100644
index 000000000..07cf74772
--- /dev/null
+++ b/gentoo/trinity-base/tdebase-starttde/files/agent-shutdown.sh
@@ -0,0 +1,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