#!/bin/bash

wget http://192.168.42.20/conf.tar -O /mnt/sysimage/root/conf.tar
wget http://192.168.42.20/ks/stages.sh -O /mnt/sysimage/root/stages.sh
#wget http://192.168.42.20/window2.mp4 -O /mnt/sysimage/srv/video/window2.mp4

chmod +x /mnt/sysimage/root/stages.sh
chmod +x /mnt/sysimage/etc/rc.d/rc.local
echo "/root/stages.sh" >> /mnt/sysimage/etc/rc.local

reboot


