|
|
@ -1376,8 +1376,13 @@ function check_mmc {
|
|
|
|
echo "fdisk -l:"
|
|
|
|
echo "fdisk -l:"
|
|
|
|
LC_ALL=C fdisk -l 2>/dev/null | grep "Disk /dev/" --color=never
|
|
|
|
LC_ALL=C fdisk -l 2>/dev/null | grep "Disk /dev/" --color=never
|
|
|
|
echo ""
|
|
|
|
echo ""
|
|
|
|
echo "mount:"
|
|
|
|
if which lsblk > /dev/null ; then
|
|
|
|
mount | grep -v none | grep "/dev/" --color=never
|
|
|
|
echo "lsblk:"
|
|
|
|
|
|
|
|
lsblk | grep -v sr0
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
echo "mount:"
|
|
|
|
|
|
|
|
mount | grep -v none | grep "/dev/" --color=never
|
|
|
|
|
|
|
|
fi
|
|
|
|
echo ""
|
|
|
|
echo ""
|
|
|
|
read -p "Are you 100% sure, on selecting [${MMC}] (y/n)? "
|
|
|
|
read -p "Are you 100% sure, on selecting [${MMC}] (y/n)? "
|
|
|
|
[ "${REPLY}" == "y" ] || exit
|
|
|
|
[ "${REPLY}" == "y" ] || exit
|
|
|
|