summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rwxr-xr-xroot/etc/init.d/opie6
1 files changed, 3 insertions, 3 deletions
diff --git a/root/etc/init.d/opie b/root/etc/init.d/opie
index 0c9892c..b5a185e 100755
--- a/root/etc/init.d/opie
+++ b/root/etc/init.d/opie
@@ -14,13 +14,13 @@ export QPEDIR=/opt/QtPalmtop
14export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OPIEDIR/lib 14export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OPIEDIR/lib
15export PATH=$PATH:$OPIEDIR/bin 15export PATH=$PATH:$OPIEDIR/bin
16 16
17#this sets the iPaqs powerbutton to mapable 17#this sets the iPaqs powerbutton to mapable
18echo 1 > /proc/sys/ts/suspend_button_mode 18echo 1 > /proc/sys/ts/suspend_button_mode
19 19
20if [ ! -x $OPIEDIR/bin/opie ] ; then exit 0 ; fi 20if [ ! -x $OPIEDIR/bin/qpe ] ; then exit 0 ; fi
21 21
22$OPIEDIR/bin/opie-reorgfiles 22$OPIEDIR/bin/opie-reorgfiles
23 23
24. /etc/profile 24. /etc/profile
25 25
26killproc() { 26killproc() {
@@ -41,18 +41,18 @@ case $1 in
41 "3600" ) export QWS_DISPLAY=Transformed:Rot270:0 ;; 41 "3600" ) export QWS_DISPLAY=Transformed:Rot270:0 ;;
42 "3700" ) export QWS_DISPLAY=Transformed:Rot270:0 ;; 42 "3700" ) export QWS_DISPLAY=Transformed:Rot270:0 ;;
43 "3800" ) export QWS_DISPLAY=Transformed:Rot90:0 ;; 43 "3800" ) export QWS_DISPLAY=Transformed:Rot90:0 ;;
44 *) echo "Unknown processor type -`module_id`-!" ;; 44 *) echo "Unknown processor type -`module_id`-!" ;;
45 esac 45 esac
46 46
47 $OPIEDIR/bin/opie 2>/dev/null >/dev/null & 47 $OPIEDIR/bin/qpe 2>/dev/null >/dev/null &
48 48
49 ;; 49 ;;
50'stop') 50'stop')
51 echo "Killing Opie..." 51 echo "Killing Opie..."
52 killproc opie 52 killproc qpe
53 ;; 53 ;;
54*) 54*)
55 echo "usage: $0 { start | stop }" 55 echo "usage: $0 { start | stop }"
56 ;; 56 ;;
57esac 57esac
58 58