summaryrefslogtreecommitdiff
path: root/packages/gpephone/gpe-session-scripts-phone/phonesession
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2007-02-06 08:45:07 +0000
committerRod Whitby <rod@whitby.id.au>2007-02-06 08:45:07 +0000
commit0a0d010cd1dd947f6d0e19b85f1d089ecb6eef16 (patch)
tree0312303c5036b611f075edbe3070f568103ceda3 /packages/gpephone/gpe-session-scripts-phone/phonesession
parent493255c0ada70a916c0cd8604ac40a7011ba728f (diff)
parent68b828380e935344f72ffcbbb124f4f38a67569c (diff)
merge of '874adfdd0660713eb95ed9ae86e0bd3fb95ec61a'
and '8ed317e67b9356de305928b5c3cfb03fa0cc9816'
Diffstat (limited to 'packages/gpephone/gpe-session-scripts-phone/phonesession')
-rwxr-xr-xpackages/gpephone/gpe-session-scripts-phone/phonesession52
1 files changed, 52 insertions, 0 deletions
diff --git a/packages/gpephone/gpe-session-scripts-phone/phonesession b/packages/gpephone/gpe-session-scripts-phone/phonesession
new file mode 100755
index 0000000000..b08aa74dbc
--- /dev/null
+++ b/packages/gpephone/gpe-session-scripts-phone/phonesession
@@ -0,0 +1,52 @@
+#!/bin/sh
+export V_ROOT=/
+export APP_PATH=/usr
+
+# For GEM enivronment
+export GEM_PATH=/usr
+
+# For Volume Configuration
+export VOLCOF_RES_PATH=/usr/share/volconf
+
+# For Voc History
+export VOC_DATA_PATH=$V_ROOT/usr/share/vochistory
+
+# For AddressBook
+export PIM_DATA_PATH=$APP_PATH/share
+export ABOOK_DATA_PATH=$APP_PATH/share
+
+# For Voicecall
+export VOC_IMAGE_PATH=$APP_PATH/share/pixmaps
+
+# For SMS
+export SMS_CONF_PATH=$APP_PATH/share/conf
+export SMS_GRAPHIC_PATH=$APP_PATH/share/graphic
+export SMS_RING_TONE_PATH=$APP_PATH/share/chocolate.mp3
+
+# For E-mail
+export EMAIL_GRAPHIC_PATH=$APP_PATH/share/email-graphic
+export TINYMAIL_CACHE_DIR=$APP_PATH/share/tinymail.cache
+
+# For Calendar
+export CAL_RES_PATH=$APP_PATH/share/res
+
+# Start GPE Phone Edition apps through matchbox session
+gpe-applauncher&
+sleep 2
+gpe-phonepanel&
+matchbox-window-manager -use_titlebar no&
+
+# Start E-Sound Server
+esd -nobeeps -as 2&
+esdplay /mnt/sd/sounds/startup.wav
+
+# Start SoundServer
+soundserver &
+
+# Run GSM support stuff
+
+cms92init &
+gsmMux -d -p /dev/ttyS0 -m cms92 -f 128 -b 115200 -c /dev/ptmx /dev/ptmx &
+
+# Start PhoneServer
+phoneserver &