summaryrefslogtreecommitdiff
path: root/share/opie-login/opie-session
Unidiff
Diffstat (limited to 'share/opie-login/opie-session') (more/less context) (ignore whitespace changes)
-rw-r--r--share/opie-login/opie-session15
1 files changed, 15 insertions, 0 deletions
diff --git a/share/opie-login/opie-session b/share/opie-login/opie-session
new file mode 100644
index 0000000..f2425f6
--- a/dev/null
+++ b/share/opie-login/opie-session
@@ -0,0 +1,15 @@
1#!/bin/sh
2
3if [ -x /usr/bin/ssh-agent ]; then
4 SSHAGENT=/usr/bin/ssh-agent
5else
6 SSHAGENT=""
7fi
8
9if [ -x $OPIEDIR/bin/opie-sh-ssh-askpass.sh ]; then
10 export SSH_ASKPASS=$OPIEDIR/bin/opie-sh-ssh-askpass.sh
11fi
12
13$OPIEDIR/bin/opie-reorgfiles
14
15$SSHAGENT $OPIEDIR/bin/qpe