touchscreen: ecore-fb doesn't seem to work if /dev/input doesn't exists
[qi-bootmenu-system.git] / rootfs-overlay / etc / init.d / rcS
blob1363bed8c19f0981bc519d8871b65c9fff37e51f
1 #!/bin/sh
3 export PATH=/sbin:/bin:/usr/sbin:/usr/bin
4 export HOME=/home/root
5 export USER=root
6 export TSLIB_TSDEVICE=/dev/input/touchscreen0
7 export TSLIB_TSDEVICE=/dev/event1
8 export ELM_ENGINE=fb
9 export ELM_FONT_PATH=/usr/share/fonts
10 export EDITOR=/bin/vi
12 mount -t proc proc /proc
13 mount -t sysfs sysfs /sys
14 mount -t tmpfs tmpfs /tmp
15 mount -t tmpfs tmpfs /dev
16 mkdir /dev/pts
17 mount -t devpts devpts /dev/pts
18 #mkdir /dev/shm
19 #mount -t tmpfs tmpfs /dev/shm
20 echo /bin/mdev > /proc/sys/kernel/hotplug
21 mdev -s
23 [ ! -d /dev/input ] && mkdir /dev/input
25 cd $HOME
27 nice -n -20 dialog "HELLO WOLRD" &
29 sleep 5
31 /etc/init.d/syslog start
32 /etc/init.d/networking start
33 /etc/init.d/dropbear start
35 /bin/sh -l </dev/console >/dev/console 2>&1