author | sandman <sandman> | 2002-11-21 21:53:41 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-11-21 21:53:41 (UTC) |
commit | 0ecfbc09273d23162ef65de521ff703a8b322a03 (patch) (unidiff) | |
tree | 7865626e0b50085e87137b13a90ce08983efce9b | |
parent | e4e2d55d7f5f18141ede35a68b08ec17ca9e5b2e (diff) | |
download | opie-0ecfbc09273d23162ef65de521ff703a8b322a03.zip opie-0ecfbc09273d23162ef65de521ff703a8b322a03.tar.gz opie-0ecfbc09273d23162ef65de521ff703a8b322a03.tar.bz2 |
Adde a QWS_DISPLAY= line for iPAQ 39xx
-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 |