diff options
Diffstat (limited to 'recipes/opie-login/files/opie-session')
-rw-r--r-- | recipes/opie-login/files/opie-session | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes/opie-login/files/opie-session b/recipes/opie-login/files/opie-session new file mode 100644 index 0000000000..f2425f6ef4 --- /dev/null +++ b/recipes/opie-login/files/opie-session @@ -0,0 +1,15 @@ +#!/bin/sh + +if [ -x /usr/bin/ssh-agent ]; then + SSHAGENT=/usr/bin/ssh-agent +else + SSHAGENT="" +fi + +if [ -x $OPIEDIR/bin/opie-sh-ssh-askpass.sh ]; then + export SSH_ASKPASS=$OPIEDIR/bin/opie-sh-ssh-askpass.sh +fi + +$OPIEDIR/bin/opie-reorgfiles + +$SSHAGENT $OPIEDIR/bin/qpe |