-rw-r--r-- | share/opie-login/opie-session | 15 |
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 | |||
3 | if [ -x /usr/bin/ssh-agent ]; then | ||
4 | SSHAGENT=/usr/bin/ssh-agent | ||
5 | else | ||
6 | SSHAGENT="" | ||
7 | fi | ||
8 | |||
9 | if [ -x $OPIEDIR/bin/opie-sh-ssh-askpass.sh ]; then | ||
10 | export SSH_ASKPASS=$OPIEDIR/bin/opie-sh-ssh-askpass.sh | ||
11 | fi | ||
12 | |||
13 | $OPIEDIR/bin/opie-reorgfiles | ||
14 | |||
15 | $SSHAGENT $OPIEDIR/bin/qpe | ||