summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13/trinity-base/trinity-kdebase/agent-startup.sh
diff options
context:
space:
mode:
authorPawel "l0ner" Soltys <pwslts@gmail.com>2012-01-30 16:41:03 +0100
committerPawel "l0ner" Soltys <pwslts@gmail.com>2012-01-30 16:41:03 +0100
commit6ba49b78839f7a5e1a0457d43fbf8d76d4fd29e0 (patch)
tree447e718ab0004713b9eea7ba693a5d1e70a67176 /arch/3.5.13/trinity-base/trinity-kdebase/agent-startup.sh
parent6764ed9d5c4d9d4be8943d73638616f3f7e18c68 (diff)
downloadtde-packaging-6ba49b78839f7a5e1a0457d43fbf8d76d4fd29e0.tar.gz
tde-packaging-6ba49b78839f7a5e1a0457d43fbf8d76d4fd29e0.zip
kdebase: minor fixups, dropped _prefix in favor to TDEDIR
- added things pulled from kdemod3 (agent-{startup,shutdown},arch logo for system shutdown dialog) - added mkpamsrv script install - added install file - added pam.d rules post-install generation - pulled minor fixups form kdmod3 - fixed problem with missin default avatar in kdm
Diffstat (limited to 'arch/3.5.13/trinity-base/trinity-kdebase/agent-startup.sh')
-rw-r--r--arch/3.5.13/trinity-base/trinity-kdebase/agent-startup.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/3.5.13/trinity-base/trinity-kdebase/agent-startup.sh b/arch/3.5.13/trinity-base/trinity-kdebase/agent-startup.sh
new file mode 100644
index 000000000..88d1373a1
--- /dev/null
+++ b/arch/3.5.13/trinity-base/trinity-kdebase/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