shell script that partition and flash an OS on an sdcard using a simple configuration file