Updated run script
This commit is contained in:
parent
b200689c5d
commit
a926253c30
22
run.sh
22
run.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue