-rwxr-xr-x | etc/init.d/qpe | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/init.d/qpe b/etc/init.d/qpe index 56f2f27..47a9b16 100755 --- a/etc/init.d/qpe +++ b/etc/init.d/qpe @@ -1,21 +1,23 @@ #!/bin/sh # export LOGNAME=root export HOME=/$LOGNAME export QWS_DISPLAY=Transformed:Rot270:0 export QTDIR=/usr export OPIEDIR=/opt/QtPalmtop export QPEDIR=/opt/QtPalmtop +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OPIEDIR/lib +export PATH=$PATH:$OPIEDIR/bin #this sets the iPaqs powerbutton to mapable echo 1 > /proc/sys/ts/suspend_button_mode if [ ! -x $OPIEDIR/bin/qpe ] ; then exit 0 ; fi $OPIEDIR/bin/qpe-reorgfiles . /etc/profile killproc() { pid=`/bin/ps -e | /bin/sed -n -e '/\<'$1'\>/ s/^ *\([0-9][0-9]*\).*/\1/p'` |