#!/bin/bash -x
#Purpose 
#http://pi-star:2222

#user: pi-star
#password: raspberry

#Make the root filesystem writable

sudo mount -o remount,rw / ;
	
cd ~
curl -OL https://www.bi7jta.org/files/github_files/sources.list;
curl -OL https://www.bi7jta.org/files/github_files/raspi.list;
sudo cp -f sources.list /etc/apt/sources.list;
sudo cp -f raspi.list /etc/apt/sources.list.d/raspi.list;
 
sudo apt-get update
#sudo apt-get upgrade