diff options
Diffstat (limited to 'gnome-base/gdm/files/2.2.4/gnomerc')
-rw-r--r-- | gnome-base/gdm/files/2.2.4/gnomerc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gnome-base/gdm/files/2.2.4/gnomerc b/gnome-base/gdm/files/2.2.4/gnomerc new file mode 100644 index 000000000000..7113e23aca25 --- /dev/null +++ b/gnome-base/gdm/files/2.2.4/gnomerc @@ -0,0 +1,14 @@ +startssh= +sshagent=/usr/bin/ssh-agent +gnomesession=/usr/bin/gnome-session + +if [ -x $sshagent -a -z "$SSH_AUTH_SOCK" ]; then + startssh=yes +fi + +if [ -n "$startssh" ]; then + exec $sshagent -- $gnomesession +else + exec $gnomesession +fi + |