#!/bin/sh

skill devkitdemo &
skill launchgui.sh &
skill startx.sh &
skill Xfbdev
#wget -t 1 --dns-timeout=3 --connect-timeout=7 -O - http://www.technexion.net/software/edm1_cf_imx6all/fairy-070/reinstall.rgba.xz | xzcat | dd of=/dev/fb0
mount / -o remount,rw

cd /
wget -t 1 --dns-timeout=3 --connect-timeout=7 -O - http://www.technexion.net/software/edm1_cf_imx6all/fairy-070/update-from-1.04.tar.xz | xzcat | tar xv 
sync &
mount / -o remount,rw
hash -r
mount -t tmpfs -o size=32M tmpfs /tmp
skill dhcpcd

cd /home/root
./launchgui.sh &
