-rwxr-xr-x | root/etc/init.d/opie | 2 | ||||
-rw-r--r-- | root/etc/ppp/peers/opie-kppp | 3 | ||||
-rw-r--r-- | root/opt/QtPalmtop/etc/opie-login.conf | 2 |
3 files changed, 6 insertions, 1 deletions
diff --git a/root/etc/init.d/opie b/root/etc/init.d/opie index 5f454bd..d49498c 100755 --- a/root/etc/init.d/opie +++ b/root/etc/init.d/opie | |||
@@ -1,28 +1,28 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | 2 | # |
3 | 3 | ||
4 | [ -z $LOGNAME ] && export LOGNAME=root | 4 | [ -z $LOGNAME ] && export LOGNAME=root && export HOME=/root |
5 | [ -z $HOME ] && export HOME=/$LOGNAME | 5 | [ -z $HOME ] && export HOME=/$LOGNAME |
6 | 6 | ||
7 | export QTDIR=/opt/QtPalmtop | 7 | export QTDIR=/opt/QtPalmtop |
8 | export OPIEDIR=/opt/QtPalmtop | 8 | export OPIEDIR=/opt/QtPalmtop |
9 | export QPEDIR=/opt/QtPalmtop | 9 | export QPEDIR=/opt/QtPalmtop |
10 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OPIEDIR/lib | 10 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OPIEDIR/lib |
11 | export PATH=$PATH:$OPIEDIR/bin | 11 | export PATH=$PATH:$OPIEDIR/bin |
12 | 12 | ||
13 | if [ -e /proc/hal/model ] ; then | 13 | if [ -e /proc/hal/model ] ; then |
14 | ipaq=`cat /proc/hal/model` | 14 | ipaq=`cat /proc/hal/model` |
15 | 15 | ||
16 | case "$ipaq" in | 16 | case "$ipaq" in |
17 | "3100" ) export QWS_DISPLAY=Transformed:Rot90:0 ;; | 17 | "3100" ) export QWS_DISPLAY=Transformed:Rot90:0 ;; |
18 | "3600" ) export QWS_DISPLAY=Transformed:Rot270:0 ;; | 18 | "3600" ) export QWS_DISPLAY=Transformed:Rot270:0 ;; |
19 | "3700" ) export QWS_DISPLAY=Transformed:Rot270:0 ;; | 19 | "3700" ) export QWS_DISPLAY=Transformed:Rot270:0 ;; |
20 | "3800" ) export QWS_DISPLAY=Transformed:Rot90:0 ;; | 20 | "3800" ) export QWS_DISPLAY=Transformed:Rot90:0 ;; |
21 | "3900" ) export QWS_DISPLAY=Transformed:Rot270:0 ;; | 21 | "3900" ) export QWS_DISPLAY=Transformed:Rot270:0 ;; |
22 | "5400" ) export QWS_DISPLAY=Transformed:Rot0:0 ;; | 22 | "5400" ) export QWS_DISPLAY=Transformed:Rot0:0 ;; |
23 | *) echo "Unknown iPAQ model: $ipaq" ;; | 23 | *) echo "Unknown iPAQ model: $ipaq" ;; |
24 | esac | 24 | esac |
25 | else | 25 | else |
26 | export QWS_DISPLAY=Transformed:Rot270:0 | 26 | export QWS_DISPLAY=Transformed:Rot270:0 |
27 | fi | 27 | fi |
28 | 28 | ||
diff --git a/root/etc/ppp/peers/opie-kppp b/root/etc/ppp/peers/opie-kppp new file mode 100644 index 0000000..2b349d9 --- a/dev/null +++ b/root/etc/ppp/peers/opie-kppp | |||
@@ -0,0 +1,3 @@ | |||
1 | noauth | ||
2 | name opie-kppp | ||
3 | usepeerdns | ||
diff --git a/root/opt/QtPalmtop/etc/opie-login.conf b/root/opt/QtPalmtop/etc/opie-login.conf new file mode 100644 index 0000000..13195b1 --- a/dev/null +++ b/root/opt/QtPalmtop/etc/opie-login.conf | |||
@@ -0,0 +1,2 @@ | |||
1 | [General] | ||
2 | AutoLogin = root | ||