aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-opie/opie-login/files/opie-session
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-opie/opie-login/files/opie-session')
-rw-r--r--recipes-opie/opie-login/files/opie-session15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes-opie/opie-login/files/opie-session b/recipes-opie/opie-login/files/opie-session
new file mode 100644
index 0000000..f2425f6
--- /dev/null
+++ b/recipes-opie/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