author | kergoth <kergoth> | 2002-09-05 17:13:00 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-09-05 17:13:00 (UTC) |
commit | deaef1d44dfc99be6301bfb20e5b35346c005641 (patch) (unidiff) | |
tree | 1b3323dc1a72539d9ca299801f736aa03da6cae5 /root/etc | |
parent | 5234cdf47b57d31665a0a8746178879f6912c83d (diff) | |
download | opie-deaef1d44dfc99be6301bfb20e5b35346c005641.zip opie-deaef1d44dfc99be6301bfb20e5b35346c005641.tar.gz opie-deaef1d44dfc99be6301bfb20e5b35346c005641.tar.bz2 |
Sane fallback for rotation if /proc/hal/model doesnt exist (i.e. zaurus).
-rwxr-xr-x | root/etc/init.d/opie | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/root/etc/init.d/opie b/root/etc/init.d/opie index 01704f2..ada0431 100755 --- a/root/etc/init.d/opie +++ b/root/etc/init.d/opie | |||
@@ -3,7 +3,6 @@ | |||
3 | 3 | ||
4 | export LOGNAME=root | 4 | export LOGNAME=root |
5 | export HOME=/$LOGNAME | 5 | export HOME=/$LOGNAME |
6 | #export QWS_DISPLAY=Transformed:Rot270:0 | ||
7 | export QTDIR=/opt/QtPalmtop | 6 | export QTDIR=/opt/QtPalmtop |
8 | export OPIEDIR=/opt/QtPalmtop | 7 | export OPIEDIR=/opt/QtPalmtop |
9 | export QPEDIR=/opt/QtPalmtop | 8 | export QPEDIR=/opt/QtPalmtop |
@@ -47,6 +46,8 @@ case $1 in | |||
47 | "3800" ) export QWS_DISPLAY=Transformed:Rot90:0 ;; | 46 | "3800" ) export QWS_DISPLAY=Transformed:Rot90:0 ;; |
48 | *) echo "Unknown processor type -`module_id`-!" ;; | 47 | *) echo "Unknown processor type -`module_id`-!" ;; |
49 | esac | 48 | esac |
49 | else | ||
50 | export QWS_DISPLAY=Transformed:Rot270:0 | ||
50 | fi | 51 | fi |
51 | 52 | ||
52 | 53 | ||