diff options
author | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2010-04-12 02:15:29 +0200 |
---|---|---|
committer | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2010-04-12 02:15:48 +0200 |
commit | 61d6b15d54b5d77e520dafee7a0ce70f3c666ed3 (patch) | |
tree | 700967ffb8885b38784a8f48dbb60309ae80bdbc /recipes/freesmartphone/zhone2 | |
parent | 0189e3a0d7b9137c4762ecf03345fc5303510fa0 (diff) | |
download | openembedded-61d6b15d54b5d77e520dafee7a0ce70f3c666ed3.tar.gz |
zhone2: install init script
Diffstat (limited to 'recipes/freesmartphone/zhone2')
-rwxr-xr-x | recipes/freesmartphone/zhone2/zhone2 | 11 |
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 |