diff options
Diffstat (limited to 'gnome-base/gdm/files/50-ssh-agent')
-rw-r--r-- | gnome-base/gdm/files/50-ssh-agent | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gnome-base/gdm/files/50-ssh-agent b/gnome-base/gdm/files/50-ssh-agent new file mode 100644 index 0000000..10460c5 --- /dev/null +++ b/gnome-base/gdm/files/50-ssh-agent @@ -0,0 +1,10 @@ +#!/bin/sh + +# 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 |