summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-10-04 12:32:05 (UTC)
committer harlekin <harlekin>2002-10-04 12:32:05 (UTC)
commit5ee29e56f5cfb1c32463aa71eee1217e8ccaa411 (patch) (side-by-side diff)
tree5f266b24a3172132d85bef180edbc269d2137a66
parent393ef522ad1fc45b341955e71f5806b2bea72b17 (diff)
downloadopie-5ee29e56f5cfb1c32463aa71eee1217e8ccaa411.zip
opie-5ee29e56f5cfb1c32463aa71eee1217e8ccaa411.tar.gz
opie-5ee29e56f5cfb1c32463aa71eee1217e8ccaa411.tar.bz2
power button disable not needed anymore in startscript, its now in odevice
Diffstat (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`