From deaef1d44dfc99be6301bfb20e5b35346c005641 Mon Sep 17 00:00:00 2001 From: kergoth Date: Thu, 05 Sep 2002 17:13:00 +0000 Subject: Sane fallback for rotation if /proc/hal/model doesnt exist (i.e. zaurus). --- (limited to 'root') 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 @@ export LOGNAME=root export HOME=/$LOGNAME -#export QWS_DISPLAY=Transformed:Rot270:0 export QTDIR=/opt/QtPalmtop export OPIEDIR=/opt/QtPalmtop export QPEDIR=/opt/QtPalmtop @@ -47,6 +46,8 @@ case $1 in "3800" ) export QWS_DISPLAY=Transformed:Rot90:0 ;; *) echo "Unknown processor type -`module_id`-!" ;; esac + else + export QWS_DISPLAY=Transformed:Rot270:0 fi -- cgit v0.9.0.2