Updated run script

This commit is contained in:
Jamez 2019-04-05 14:09:41 -07:00
parent b200689c5d
commit a926253c30
1 changed files with 22 additions and 0 deletions

22
run.sh
View File

@ -0,0 +1,22 @@
#!/bin/bash -x
echo mount /dev/mmcblk0p2 /home/factory
mount /dev/mmcblk0p2 /home/factory
#exit
echo dd if=/home/factory/emmc.img.armbian of=/dev/mmcblk2
dd if=/home/factory/emmc.img.armbian of=/dev/mmcblk2 bs=16M status=progress
echo sync
sync
echo
echo
echo INSTALL SUCCEEDED
echo INSTALL SUCCEEDED
echo INSTALL SUCCEEDED
echo INSTALL SUCCEEDED
echo
echo