author | mickeyl <mickeyl> | 2003-11-06 23:14:58 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-11-06 23:14:58 (UTC) |
commit | 6cd088957d27ce639bf5ee9e25a9e37b9ad7b976 (patch) (unidiff) | |
tree | 4ef9d0ecbcabdf7231c9bb3ab800b28f227d998c /root/etc | |
parent | f3546aa2a7a0fa8b1f8eb0c317ce9c7c7ab8eff3 (diff) | |
download | opie-6cd088957d27ce639bf5ee9e25a9e37b9ad7b976.zip opie-6cd088957d27ce639bf5ee9e25a9e37b9ad7b976.tar.gz opie-6cd088957d27ce639bf5ee9e25a9e37b9ad7b976.tar.bz2 |
merge root/*
-rwxr-xr-x | root/etc/init.d/opie | 2 | ||||
-rw-r--r-- | root/etc/ppp/peers/opie-kppp | 3 |
2 files changed, 4 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,52 +1,52 @@ | |||
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 | ||
29 | if [ -e /proc/cpuinfo ] ; then | 29 | if [ -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 |
37 | fi | 37 | fi |
38 | 38 | ||
39 | 39 | ||
40 | if [ ! -x $OPIEDIR/bin/qpe ] ; then | 40 | if [ ! -x $OPIEDIR/bin/qpe ] ; then |
41 | echo Opie not installed | 41 | echo Opie not installed |
42 | exit 0 | 42 | exit 0 |
43 | fi | 43 | fi |
44 | 44 | ||
45 | . /etc/profile | 45 | . /etc/profile |
46 | 46 | ||
47 | case $1 in | 47 | case $1 in |
48 | 'start') | 48 | 'start') |
49 | cd $HOME | 49 | cd $HOME |
50 | rm -f /etc/rc2.d/S99x # Can't have both running! | 50 | rm -f /etc/rc2.d/S99x # Can't have both running! |
51 | 51 | ||
52 | if [ -x $OPIEDIR/bin/opie-login ]; then | 52 | if [ -x $OPIEDIR/bin/opie-login ]; then |
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 | ||