Updated run script to display dialogs

This commit is contained in:
Jamez 2019-04-05 14:29:46 -07:00
parent 0b6f329ba6
commit 8d4322f840
1 changed files with 3 additions and 0 deletions

3
run.sh
View File

@ -1,5 +1,6 @@
#!/bin/bash -x
dialog --pause "Starting Image Flashing" 10 70 5
echo mount /dev/mmcblk0p2 /home/factory
mount /dev/mmcblk0p2 /home/factory
@ -11,6 +12,8 @@ dd if=/home/factory/emmc.img.armbian of=/dev/mmcblk2 bs=16M status=progress
echo sync
sync
dialog --msgbox "Flash Image Completed!" 10 70
echo
echo
echo INSTALL SUCCEEDED