summaryrefslogtreecommitdiff
path: root/share/opie-login/opie-session
Side-by-side diff
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 @@
+#!/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