summaryrefslogtreecommitdiff
path: root/share/opie-login/opie-session
authorsandman <sandman>2002-12-17 22:23:01 (UTC)
committer sandman <sandman>2002-12-17 22:23:01 (UTC)
commit0a9d431a77ee7b60c32ccdbefa854d6504df6685 (patch) (side-by-side diff)
treedf9af561612897b61864479ee4f8bd9f754dd9ed /share/opie-login/opie-session
parent8e895c00e6f77d897033e0e473d6e823e684590c (diff)
downloadopie-0a9d431a77ee7b60c32ccdbefa854d6504df6685.zip
opie-0a9d431a77ee7b60c32ccdbefa854d6504df6685.tar.gz
opie-0a9d431a77ee7b60c32ccdbefa854d6504df6685.tar.bz2
- basic pre-/post session scripts for familiar (OZ has to added here)
- default opie-session (copy this to ~/.opie-session to customize)
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