summaryrefslogtreecommitdiff
path: root/system/gdm/patches/do_not_start_ssh-agent.diff
diff options
context:
space:
mode:
Diffstat (limited to 'system/gdm/patches/do_not_start_ssh-agent.diff')
-rw-r--r--system/gdm/patches/do_not_start_ssh-agent.diff18
1 files changed, 18 insertions, 0 deletions
diff --git a/system/gdm/patches/do_not_start_ssh-agent.diff b/system/gdm/patches/do_not_start_ssh-agent.diff
new file mode 100644
index 0000000000..c437bdadf8
--- /dev/null
+++ b/system/gdm/patches/do_not_start_ssh-agent.diff
@@ -0,0 +1,18 @@
+diff -Nur gdm-2.20.11.orig//config/Xsession.in gdm-2.20.11/config/Xsession.in
+--- gdm-2.20.11.orig//config/Xsession.in 2010-06-02 20:06:25.000000000 -0500
++++ gdm-2.20.11/config/Xsession.in 2010-12-20 00:02:58.480225271 -0600
+@@ -213,14 +213,6 @@
+ fi
+ fi
+
+-# add ssh-agent if found
+-sshagent="`gdmwhich ssh-agent`"
+-if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then
+- command="$sshagent -- $command"
+-elif [ -z "$sshagent" ] ; then
+- echo "$0: ssh-agent not found!"
+-fi
+-
+ echo "$0: Setup done, will execute: $command"
+
+ eval exec $command