summaryrefslogtreecommitdiff
path: root/system/gdm/patches/do_not_start_ssh-agent.diff
blob: c437bdadf87ae78bddc323b8e35b5944831a7fb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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