Skip to content

Commit

Permalink
add check fat32 partition
Browse files Browse the repository at this point in the history
  • Loading branch information
Ninoh-FOX authored Dec 23, 2019
1 parent 3d0a8e8 commit f326eeb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Binary file added update/fsck.fat
Binary file not shown.
4 changes: 4 additions & 0 deletions update/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,10 @@ if [ -f "$BOOTLOADER" -a "$SYSTEM_PARTITION" = "/dev/mmcblk0p1" ] ; then
sync
fi

echo 'Cheking boot partition... '
./fsck.fat -w -r -l -a -v -t /dev/mmcblk0p1
echo 'Done!!'

dialog --msgbox 'Update complete!\nThe system will now restart.\n\n
If for some reason the system fails to boot, try to press the
following keys while powering on the device:\n
Expand Down

0 comments on commit f326eeb

Please sign in to comment.