summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rwxr-xr-xroot/etc/init.d/opie5
1 files changed, 0 insertions, 5 deletions
diff --git a/root/etc/init.d/opie b/root/etc/init.d/opie
index b5afe86..0b649c2 100755
--- a/root/etc/init.d/opie
+++ b/root/etc/init.d/opie
@@ -1,28 +1,23 @@
#!/bin/sh
#
export LOGNAME=root
export HOME=/$LOGNAME
export QTDIR=/opt/QtPalmtop
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
-if [ -e /proc/sys/ts/suspend_button_mode ] ; then
- echo 1 > /proc/sys/ts/suspend_button_mode
-fi
-
if [ ! -x $OPIEDIR/bin/qpe ] ; then
echo Opie not installed
exit 0
fi
$OPIEDIR/bin/opie-reorgfiles
. /etc/profile
killproc() {
pid=`/bin/ps -e | /bin/sed -n -e '/\<'$1'\>/ s/^ *\([0-9][0-9]*\).*/\1/p'`
[ "$pid" != "" ] && kill $pid