diff options
Diffstat (limited to 'packages/opie-taskbar/opie-taskbar/opie')
-rw-r--r-- | packages/opie-taskbar/opie-taskbar/opie | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/packages/opie-taskbar/opie-taskbar/opie b/packages/opie-taskbar/opie-taskbar/opie index 7d0ab96485..95d13aabc7 100644 --- a/packages/opie-taskbar/opie-taskbar/opie +++ b/packages/opie-taskbar/opie-taskbar/opie @@ -8,28 +8,8 @@ export OPIEDIR=/opt/QtPalmtop export QPEDIR=/opt/QtPalmtop export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OPIEDIR/lib export PATH=$PATH:$OPIEDIR/bin -# FIXME: add check for qt version here. the statement above applies to qt >=2.3.9 # export QWS_KEYBOARD=KernelTTY -if [ -e /proc/cpuinfo ] ; then - model=`grep "^Hardware" /proc/cpuinfo | sed -e "s/.*: *//" | tr a-z A-Z` - - case "$model" in - "HP IPAQ H3100" | "HP IPAQ H3800" ) - export QWS_DISPLAY=Transformed:Rot90:0 ;; - "HP IPAQ H5400" | "HP JORNADA 56X" | "HP IPAQ H2200" | "SHARP Tosa" ) - export QWS_DISPLAY=Transformed:Rot0:0 ;; - *SIMPAD* ) - export QWS_KEYBOARD='SIMpad' - export QWS_DISPLAY=Transformed:Rot0:0 ;; - - *) - export QWS_DISPLAY=Transformed:Rot270:0 ;; - esac -else - export QWS_DISPLAY=Transformed:Rot270:0 -fi - if [ ! -x "$OPIEDIR/bin/qpe" ] ; then echo Opie not installed exit 0 @@ -56,8 +36,8 @@ if [ ! -e "/opt/Qtopia" ] ; then ln -sf /opt/QtPalmtop /opt/Qtopia fi -if [ ! -e "/home/root" ] ; then - ln -sf /root /home +if [ ! -e "/home/root/" ] ; then + ln -sf /root /home/ fi case $1 in |