Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/scripts/run-with-keyring
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-07-18 16:54:20 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-07-18 16:54:20 (GMT)
commit00185eae12701527e38f27666930e4cc6b7307c7 (patch)
treea19f333b673737199cd6d6e40e4841c95f0dd609 /scripts/run-with-keyring
parente99dc4dcf1ae7908ee7792e36e9ac88c2224429a (diff)
parent06017e015e8e041c18dfb34ac2eabe8cc91b60e9 (diff)
Merge branch 'master' of git.sugarlabs.org:sugar-build/sugar-build
Diffstat (limited to 'scripts/run-with-keyring')
-rwxr-xr-xscripts/run-with-keyring12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/run-with-keyring b/scripts/run-with-keyring
new file mode 100755
index 0000000..2925d2f
--- /dev/null
+++ b/scripts/run-with-keyring
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+eval `gnome-keyring-daemon --start --components=secrets,pkcs11,ssh,gpg`
+
+export SSH_AUTH_SOCK
+export GNOME_KEYRING_CONTROL
+export GPG_AGENT_INFO
+export GNOME_KEYRING_PID
+
+exec $1
+
+kill $GNOME_KEYRING_PID