-rwxr-xr-x | root/etc/init.d/opie | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/root/etc/init.d/opie b/root/etc/init.d/opie index 01704f2..ada0431 100755 --- a/root/etc/init.d/opie +++ b/root/etc/init.d/opie | |||
@@ -1,14 +1,13 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | 2 | # |
3 | 3 | ||
4 | export LOGNAME=root | 4 | export LOGNAME=root |
5 | export HOME=/$LOGNAME | 5 | export HOME=/$LOGNAME |
6 | #export QWS_DISPLAY=Transformed:Rot270:0 | ||
7 | export QTDIR=/opt/QtPalmtop | 6 | export QTDIR=/opt/QtPalmtop |
8 | export OPIEDIR=/opt/QtPalmtop | 7 | export OPIEDIR=/opt/QtPalmtop |
9 | export QPEDIR=/opt/QtPalmtop | 8 | export QPEDIR=/opt/QtPalmtop |
10 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OPIEDIR/lib | 9 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OPIEDIR/lib |
11 | export PATH=$PATH:$OPIEDIR/bin | 10 | export PATH=$PATH:$OPIEDIR/bin |
12 | 11 | ||
13 | #this sets the iPaqs powerbutton to mapable | 12 | #this sets the iPaqs powerbutton to mapable |
14 | if [ -e /proc/sys/ts/suspend_button_mode ] ; then | 13 | if [ -e /proc/sys/ts/suspend_button_mode ] ; then |
@@ -42,16 +41,18 @@ case $1 in | |||
42 | echo iPAQ type $IPAQ | 41 | echo iPAQ type $IPAQ |
43 | case $IPAQ in | 42 | case $IPAQ in |
44 | "3100" ) export QWS_DISPLAY=Transformed:Rot90:0 ;; | 43 | "3100" ) export QWS_DISPLAY=Transformed:Rot90:0 ;; |
45 | "3600" ) export QWS_DISPLAY=Transformed:Rot270:0 ;; | 44 | "3600" ) export QWS_DISPLAY=Transformed:Rot270:0 ;; |
46 | "3700" ) export QWS_DISPLAY=Transformed:Rot270:0 ;; | 45 | "3700" ) export QWS_DISPLAY=Transformed:Rot270:0 ;; |
47 | "3800" ) export QWS_DISPLAY=Transformed:Rot90:0 ;; | 46 | "3800" ) export QWS_DISPLAY=Transformed:Rot90:0 ;; |
48 | *) echo "Unknown processor type -`module_id`-!" ;; | 47 | *) echo "Unknown processor type -`module_id`-!" ;; |
49 | esac | 48 | esac |
49 | else | ||
50 | export QWS_DISPLAY=Transformed:Rot270:0 | ||
50 | fi | 51 | fi |
51 | 52 | ||
52 | 53 | ||
53 | if [ -x $OPIEDIR/bin/opie-login ]; then | 54 | if [ -x $OPIEDIR/bin/opie-login ]; then |
54 | if ! killall -0 syslogd 2>/dev/null >/dev/null; then | 55 | if ! killall -0 syslogd 2>/dev/null >/dev/null; then |
55 | echo Starting Opie-login.... | 56 | echo Starting Opie-login.... |
56 | $OPIEDIR/bin/opie-login 2>/dev/null >/dev/null & | 57 | $OPIEDIR/bin/opie-login 2>/dev/null >/dev/null & |
57 | else | 58 | else |