Add network support to initscripts
[qi-bootmenu-system/guyou.git] / rootfs-overlay / sbin / init
blobae79ee5c6bebfeec48ddf7ec0ef244a1b379850a
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 ELM_ENGINE=fb
8 export ELM_FONT_PATH=/usr/share/fonts
9 export EDITOR=/bin/vi
11 mount -t proc proc /proc
12 mount -t sysfs sysfs /sys
13 mount -t tmpfs tmpfs /tmp
14 mount -t tmpfs tmpfs /dev
15 mkdir /dev/pts
16 mount -t devpts devpts /dev/pts
17 #mkdir /dev/shm
18 #mount -t tmpfs tmpfs /dev/shm
19 echo /bin/mdev > /proc/sys/kernel/hotplug
20 mdev -s
22 nice -n -20 dialog "HELLO WOLRD" &
24 sleep 5
26 /etc/init.d/networking start
27 /etc/init.d/dropbear start
29 /bin/sh -l