summaryrefslogtreecommitdiff
blob: f0432d379140a23588243db6c19f8396cae229e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
 ssh-agent really needs to be handled by xinitrc like other agents.
 Gentoo bug: 220603

 data/Xsession.in |    8 --------
 1 file changed, 8 deletions(-)

Index: b/data/Xsession.in
===================================================================
--- a/data/Xsession.in
+++ b/data/Xsession.in
@@ -213,14 +213,6 @@ if [ -d /etc/X11/xinit/xinitrc.d ]; then
     done
 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