summaryrefslogtreecommitdiff
path: root/root
Side-by-side diff
Diffstat (limited to 'root') (more/less context) (ignore 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,40 +1,35 @@
#!/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
}
case $1 in
'start')
cd $HOME
rm -f /etc/rc2.d/S99x # Can't have both running!
if [ -e /proc/hal/model ] ; then
IPAQ=`cat /proc/hal/model`