author | chicken <chicken> | 2003-11-03 15:08:32 (UTC) |
---|---|---|
committer | chicken <chicken> | 2003-11-03 15:08:32 (UTC) |
commit | ce84f2d8bdd65c438821f0457cdad6bbbfa73380 (patch) (unidiff) | |
tree | 023d6614ca2f2cb867a56fae60b0bdc4af20bb14 | |
parent | f232518989263ffaeb2987431b482bd151b26cb6 (diff) | |
download | opie-ce84f2d8bdd65c438821f0457cdad6bbbfa73380.zip opie-ce84f2d8bdd65c438821f0457cdad6bbbfa73380.tar.gz opie-ce84f2d8bdd65c438821f0457cdad6bbbfa73380.tar.bz2 |
add correct j56x rotation
-rwxr-xr-x | root/etc/init.d/opie | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/root/etc/init.d/opie b/root/etc/init.d/opie index 9e63b8f..5f454bd 100755 --- a/root/etc/init.d/opie +++ b/root/etc/init.d/opie | |||
@@ -26,16 +26,19 @@ else | |||
26 | export QWS_DISPLAY=Transformed:Rot270:0 | 26 | export QWS_DISPLAY=Transformed:Rot270:0 |
27 | fi | 27 | fi |
28 | 28 | ||
29 | if [ -e /proc/cpuinfo ] ; then | 29 | if [ -e /proc/cpuinfo ] ; then |
30 | if (grep -qi "Simpad" /proc/cpuinfo) ; then | 30 | if (grep -qi "Simpad" /proc/cpuinfo) ; then |
31 | export QWS_KEYBOARD='SIMpad' | 31 | export QWS_KEYBOARD='SIMpad' |
32 | export QWS_DISPLAY=Transformed:Rot0:0 | 32 | export QWS_DISPLAY=Transformed:Rot0:0 |
33 | fi | 33 | fi |
34 | if (grep -qi "HP Jornada 56x" /proc/cpuinfo) ; then | ||
35 | export QWS_DISPLAY=Transformed:Rot0:0 | ||
36 | fi | ||
34 | fi | 37 | fi |
35 | 38 | ||
36 | 39 | ||
37 | if [ ! -x $OPIEDIR/bin/qpe ] ; then | 40 | if [ ! -x $OPIEDIR/bin/qpe ] ; then |
38 | echo Opie not installed | 41 | echo Opie not installed |
39 | exit 0 | 42 | exit 0 |
40 | fi | 43 | fi |
41 | 44 | ||