summaryrefslogtreecommitdiff
path: root/recipes/opie-login/files/opie-session
blob: f2425f6ef43f875c3c308f2f7c81bdcb54623be9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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