|
|
@ -1373,16 +1373,8 @@ check_mmc () {
|
|
|
|
if [ "x${FDISK}" = "x${media}:" ] ; then
|
|
|
|
if [ "x${FDISK}" = "x${media}:" ] ; then
|
|
|
|
echo ""
|
|
|
|
echo ""
|
|
|
|
echo "I see..."
|
|
|
|
echo "I see..."
|
|
|
|
echo "fdisk -l:"
|
|
|
|
echo "lsblk:"
|
|
|
|
LC_ALL=C fdisk -l 2>/dev/null | grep "Disk /dev/" --color=never
|
|
|
|
lsblk | grep -v sr0
|
|
|
|
echo ""
|
|
|
|
|
|
|
|
if which lsblk > /dev/null ; then
|
|
|
|
|
|
|
|
echo "lsblk:"
|
|
|
|
|
|
|
|
lsblk | grep -v sr0
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
echo "mount:"
|
|
|
|
|
|
|
|
mount | grep -v none | grep "/dev/" --color=never
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo ""
|
|
|
|
echo ""
|
|
|
|
unset response
|
|
|
|
unset response
|
|
|
|
echo -n "Are you 100% sure, on selecting [${media}] (y/n)? "
|
|
|
|
echo -n "Are you 100% sure, on selecting [${media}] (y/n)? "
|
|
|
@ -1395,16 +1387,8 @@ check_mmc () {
|
|
|
|
echo ""
|
|
|
|
echo ""
|
|
|
|
echo "Are you sure? I Don't see [${media}], here is what I do see..."
|
|
|
|
echo "Are you sure? I Don't see [${media}], here is what I do see..."
|
|
|
|
echo ""
|
|
|
|
echo ""
|
|
|
|
echo "fdisk -l:"
|
|
|
|
echo "lsblk:"
|
|
|
|
LC_ALL=C fdisk -l 2>/dev/null | grep "Disk /dev/" --color=never
|
|
|
|
lsblk | grep -v sr0
|
|
|
|
echo ""
|
|
|
|
|
|
|
|
if which lsblk > /dev/null ; then
|
|
|
|
|
|
|
|
echo "lsblk:"
|
|
|
|
|
|
|
|
lsblk | grep -v sr0
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
echo "mount:"
|
|
|
|
|
|
|
|
mount | grep -v none | grep "/dev/" --color=never
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo ""
|
|
|
|
echo ""
|
|
|
|
exit
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|