-rwxr-xr-x | root/etc/init.d/opie | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/root/etc/init.d/opie b/root/etc/init.d/opie index 0b649c2..61de104 100755 --- a/root/etc/init.d/opie +++ b/root/etc/init.d/opie | |||
@@ -26,32 +26,33 @@ killproc() { | |||
26 | case $1 in | 26 | case $1 in |
27 | 'start') | 27 | 'start') |
28 | 28 | ||
29 | cd $HOME | 29 | cd $HOME |
30 | rm -f /etc/rc2.d/S99x # Can't have both running! | 30 | rm -f /etc/rc2.d/S99x # Can't have both running! |
31 | 31 | ||
32 | if [ -e /proc/hal/model ] ; then | 32 | if [ -e /proc/hal/model ] ; then |
33 | 33 | ||
34 | IPAQ=`cat /proc/hal/model` | 34 | IPAQ=`cat /proc/hal/model` |
35 | 35 | ||
36 | echo iPAQ type $IPAQ | 36 | echo iPAQ type $IPAQ |
37 | case $IPAQ in | 37 | case $IPAQ in |
38 | "3100" ) export QWS_DISPLAY=Transformed:Rot90:0 ;; | 38 | "3100" ) export QWS_DISPLAY=Transformed:Rot90:0 ;; |
39 | "3600" ) export QWS_DISPLAY=Transformed:Rot270:0 ;; | 39 | "3600" ) export QWS_DISPLAY=Transformed:Rot270:0 ;; |
40 | "3700" ) export QWS_DISPLAY=Transformed:Rot270:0 ;; | 40 | "3700" ) export QWS_DISPLAY=Transformed:Rot270:0 ;; |
41 | "3800" ) export QWS_DISPLAY=Transformed:Rot90:0 ;; | 41 | "3800" ) export QWS_DISPLAY=Transformed:Rot90:0 ;; |
42 | "3900" ) export QWS_DISPLAY=Transformed:Rot270:0 ;; | ||
42 | *) echo "Unknown processor type -`module_id`-!" ;; | 43 | *) echo "Unknown processor type -`module_id`-!" ;; |
43 | esac | 44 | esac |
44 | else | 45 | else |
45 | export QWS_DISPLAY=Transformed:Rot270:0 | 46 | export QWS_DISPLAY=Transformed:Rot270:0 |
46 | fi | 47 | fi |
47 | 48 | ||
48 | 49 | ||
49 | if [ -x /usr/bin/ssh-agent ]; then | 50 | if [ -x /usr/bin/ssh-agent ]; then |
50 | SSHAGENT=/usr/bin/ssh-agent | 51 | SSHAGENT=/usr/bin/ssh-agent |
51 | else | 52 | else |
52 | SSHAGENT="" | 53 | SSHAGENT="" |
53 | fi | 54 | fi |
54 | 55 | ||
55 | if [ -x $OPIEDIR/bin/opie-sh-ssh-askpass.sh ]; then | 56 | if [ -x $OPIEDIR/bin/opie-sh-ssh-askpass.sh ]; then |
56 | export SSH_ASKPASS=$OPIEDIR/bin/opie-sh-ssh-askpass.sh | 57 | export SSH_ASKPASS=$OPIEDIR/bin/opie-sh-ssh-askpass.sh |
57 | fi | 58 | fi |