summaryrefslogtreecommitdiff
authorkergoth <kergoth>2002-09-05 17:13:00 (UTC)
committer kergoth <kergoth>2002-09-05 17:13:00 (UTC)
commitdeaef1d44dfc99be6301bfb20e5b35346c005641 (patch) (side-by-side diff)
tree1b3323dc1a72539d9ca299801f736aa03da6cae5
parent5234cdf47b57d31665a0a8746178879f6912c83d (diff)
downloadopie-deaef1d44dfc99be6301bfb20e5b35346c005641.zip
opie-deaef1d44dfc99be6301bfb20e5b35346c005641.tar.gz
opie-deaef1d44dfc99be6301bfb20e5b35346c005641.tar.bz2
Sane fallback for rotation if /proc/hal/model doesnt exist (i.e. zaurus).
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xroot/etc/init.d/opie3
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
@@ -2,9 +2,8 @@
#
export LOGNAME=root
export HOME=/$LOGNAME
-#export QWS_DISPLAY=Transformed:Rot270:0
export QTDIR=/opt/QtPalmtop
export OPIEDIR=/opt/QtPalmtop
export QPEDIR=/opt/QtPalmtop
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OPIEDIR/lib
@@ -46,8 +45,10 @@ case $1 in
"3700" ) export QWS_DISPLAY=Transformed:Rot270:0 ;;
"3800" ) export QWS_DISPLAY=Transformed:Rot90:0 ;;
*) echo "Unknown processor type -`module_id`-!" ;;
esac
+ else
+ export QWS_DISPLAY=Transformed:Rot270:0
fi
if [ -x $OPIEDIR/bin/opie-login ]; then