Use ip instead of ipconfig/route
[qi-bootmenu-system/guyou.git] / rootfs-overlay / sbin / init
blob19b9f5ed4a9407c9d35bfdccfc2470c4c55446ca
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 cd $HOME
25 nice -n -20 dialog "HELLO WOLRD" &
27 sleep 5
29 /etc/init.d/syslog start
30 /etc/init.d/networking start
31 /etc/init.d/dropbear start
33 /bin/sh -l </dev/console >/dev/console 2>&1