summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xroot/etc/init.d/opie2
-rw-r--r--root/etc/ppp/peers/opie-kppp3
-rw-r--r--root/opt/QtPalmtop/etc/opie-login.conf2
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,36 +1,36 @@
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
7export QTDIR=/opt/QtPalmtop 7export QTDIR=/opt/QtPalmtop
8export OPIEDIR=/opt/QtPalmtop 8export OPIEDIR=/opt/QtPalmtop
9export QPEDIR=/opt/QtPalmtop 9export QPEDIR=/opt/QtPalmtop
10export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OPIEDIR/lib 10export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OPIEDIR/lib
11export PATH=$PATH:$OPIEDIR/bin 11export PATH=$PATH:$OPIEDIR/bin
12 12
13if [ -e /proc/hal/model ] ; then 13if [ -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
25else 25else
26 export QWS_DISPLAY=Transformed:Rot270:0 26 export QWS_DISPLAY=Transformed:Rot270:0
27fi 27fi
28 28
29if [ -e /proc/cpuinfo ] ; then 29if [ -e /proc/cpuinfo ] ; then
30 if (grep -qi "Simpad" /proc/cpuinfo) ; then 30 if (grep -qi "Simpad" /proc/cpuinfo) ; then
31 export QWS_KEYBOARD='SIMpad' 31 export QWS_KEYBOARD='SIMpad'
32 export QWS_DISPLAY=Transformed:Rot0:0 32 export QWS_DISPLAY=Transformed:Rot0:0
33 fi 33 fi
34 if (grep -qi "HP Jornada 56x" /proc/cpuinfo) ; then 34 if (grep -qi "HP Jornada 56x" /proc/cpuinfo) ; then
35 export QWS_DISPLAY=Transformed:Rot0:0 35 export QWS_DISPLAY=Transformed:Rot0:0
36 fi 36 fi
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 @@
1noauth
2name opie-kppp
3usepeerdns
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]
2AutoLogin = root