#!/bin/bash MOUNT_POINT=/tmp/bootcheck mkdir -p $MOUNT_POINT if [[ $1 == -u ]]; then sudo umount $MOUNT_POINT || true exit $? fi sudo mount -o loop $HOME/leahi-distro/tmp/deploy/images/ccimx8mm-dvk/ely-image-qt-fb-ccimx8mm-dvk.boot.vfat $MOUNT_POINT