summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13/trinity-base/trinity-kdebase-split/agent-startup.sh
diff options
context:
space:
mode:
authorPawel "l0ner" Soltys <pwslts@gmail.com>2012-02-08 18:41:20 +0100
committerPawel "l0ner" Soltys <pwslts@gmail.com>2012-02-08 18:41:20 +0100
commiteb9765cac300e24339a1e480ea3bde2707ba6118 (patch)
tree0f240e1381a809dd949905ee2fd665dce3c264cb /arch/3.5.13/trinity-base/trinity-kdebase-split/agent-startup.sh
parentc011c01df1de3795984d6836d2a30c298529d881 (diff)
downloadtde-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-startup.sh')
-rw-r--r--arch/3.5.13/trinity-base/trinity-kdebase-split/agent-startup.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/3.5.13/trinity-base/trinity-kdebase-split/agent-startup.sh b/arch/3.5.13/trinity-base/trinity-kdebase-split/agent-startup.sh
new file mode 100644
index 000000000..88d1373a1
--- /dev/null
+++ b/arch/3.5.13/trinity-base/trinity-kdebase-split/agent-startup.sh
@@ -0,0 +1,19 @@
+# Agents startup file
+#
+# This file is sourced at kde startup, so that
+# the environment variables set here are available
+# throughout the session.
+
+# Uncomment the following lines to start gpg-agent
+# and/or ssh-agent at kde startup.
+# If you do so, do not forget to uncomment the respective
+# lines in KDEDIR/shutdown/agent-shutdown.sh to
+# properly kill the agents when the session ends.
+
+if [ -x /usr/bin/gpg-agent ]; then
+ eval "$(/usr/bin/gpg-agent --daemon)"
+fi
+#
+if [ -x /usr/bin/ssh-agent ]; then
+ eval "$(/usr/bin/ssh-agent -s)"
+fi