aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/freesmartphone/zhone2
diff options
context:
space:
mode:
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>2010-04-12 02:15:29 +0200
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>2010-04-12 02:15:48 +0200
commit61d6b15d54b5d77e520dafee7a0ce70f3c666ed3 (patch)
tree700967ffb8885b38784a8f48dbb60309ae80bdbc /recipes/freesmartphone/zhone2
parent0189e3a0d7b9137c4762ecf03345fc5303510fa0 (diff)
downloadopenembedded-61d6b15d54b5d77e520dafee7a0ce70f3c666ed3.tar.gz
zhone2: install init script
Diffstat (limited to 'recipes/freesmartphone/zhone2')
-rwxr-xr-xrecipes/freesmartphone/zhone2/zhone211
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/freesmartphone/zhone2/zhone2 b/recipes/freesmartphone/zhone2/zhone2
new file mode 100755
index 0000000000..f868e3d248
--- /dev/null
+++ b/recipes/freesmartphone/zhone2/zhone2
@@ -0,0 +1,11 @@
+#!/bin/sh
+cat /usr/share/zhone2/splash > /dev/fb0
+ifconfig usb0 192.168.0.202 up
+route add default gateway 192.168.0.200 usb0
+fsogsmd &
+sleep 5
+#mioctl /dev/fb0 0x4611 0
+TSLIB_TSDEVICE=/dev/input/event1
+export TSLIB_TSDEVICE
+zhone2 >/tmp/zhone2.log 2>&1 &
+exit 0