-rwxr-xr-x | root/etc/init.d/opie | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/root/etc/init.d/opie b/root/etc/init.d/opie index 8146b2c..967646a 100755 --- a/root/etc/init.d/opie +++ b/root/etc/init.d/opie | |||
@@ -21,7 +21,9 @@ if [ -e /proc/cpuinfo ] ; then | |||
21 | *SIMPAD* ) | 21 | *SIMPAD* ) |
22 | export QWS_KEYBOARD='SIMpad' | 22 | export QWS_KEYBOARD='SIMpad' |
23 | export QWS_DISPLAY=Transformed:Rot0:0 ;; | 23 | export QWS_DISPLAY=Transformed:Rot0:0 ;; |
24 | 24 | RAMSES ) | |
25 | # already set based on /proc/sys/board/lcd_type | ||
26 | ;; | ||
25 | *) | 27 | *) |
26 | export QWS_DISPLAY=Transformed:Rot270:0 ;; | 28 | export QWS_DISPLAY=Transformed:Rot270:0 ;; |
27 | esac | 29 | esac |
@@ -69,20 +71,16 @@ case $1 in | |||
69 | ( $SSHAGENT $OPIEDIR/bin/qpe 2>&1 | logger ) & | 71 | ( $SSHAGENT $OPIEDIR/bin/qpe 2>&1 | logger ) & |
70 | fi | 72 | fi |
71 | fi | 73 | fi |
72 | |||
73 | ;; | 74 | ;; |
74 | 75 | ||
75 | 'stop') | 76 | 'stop') |
76 | echo "Killing Opie..." | 77 | echo "Killing Opie..." |
77 | killall qpe | 78 | killall qpe |
78 | killall opie-login | 79 | killall opie-login |
79 | |||
80 | ;; | 80 | ;; |
81 | 81 | ||
82 | *) | 82 | *) |
83 | echo "usage: $0 { start | stop }" | 83 | echo "usage: $0 { start | stop }" |
84 | |||
85 | ;; | 84 | ;; |
86 | 85 | ||
87 | esac | 86 | esac |
88 | |||