diff options
author | Pawel "l0ner" Soltys <pwslts@gmail.com> | 2012-02-08 18:41:20 +0100 |
---|---|---|
committer | Pawel "l0ner" Soltys <pwslts@gmail.com> | 2012-02-08 18:41:20 +0100 |
commit | eb9765cac300e24339a1e480ea3bde2707ba6118 (patch) | |
tree | 0f240e1381a809dd949905ee2fd665dce3c264cb /arch/3.5.13/trinity-base/trinity-kdebase-split/agent-shutdown.sh | |
parent | c011c01df1de3795984d6836d2a30c298529d881 (diff) | |
download | tde-packaging-eb9765cac300e24339a1e480ea3bde2707ba6118.tar.gz tde-packaging-eb9765cac300e24339a1e480ea3bde2707ba6118.zip |
kdebase-split: added split pkgbuild
Diffstat (limited to 'arch/3.5.13/trinity-base/trinity-kdebase-split/agent-shutdown.sh')
-rw-r--r-- | arch/3.5.13/trinity-base/trinity-kdebase-split/agent-shutdown.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/3.5.13/trinity-base/trinity-kdebase-split/agent-shutdown.sh b/arch/3.5.13/trinity-base/trinity-kdebase-split/agent-shutdown.sh new file mode 100644 index 000000000..71b056af3 --- /dev/null +++ b/arch/3.5.13/trinity-base/trinity-kdebase-split/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 [ "${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 |