|
|
@ -1417,14 +1417,14 @@ function reset_scripts {
|
|
|
|
|
|
|
|
|
|
|
|
function check_mmc {
|
|
|
|
function check_mmc {
|
|
|
|
|
|
|
|
|
|
|
|
FDISK=$(LC_ALL=C fdisk -l 2>/dev/null | grep "[Disk] ${MMC}" | awk '{print $2}')
|
|
|
|
FDISK=$(LC_ALL=C fdisk -l 2>/dev/null | grep "Disk ${MMC}" | awk '{print $2}')
|
|
|
|
|
|
|
|
|
|
|
|
if test "-$FDISK-" = "-$MMC:-"
|
|
|
|
if test "-$FDISK-" = "-$MMC:-"
|
|
|
|
then
|
|
|
|
then
|
|
|
|
echo ""
|
|
|
|
echo ""
|
|
|
|
echo "I see..."
|
|
|
|
echo "I see..."
|
|
|
|
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:"
|
|
|
|
echo "mount:"
|
|
|
|
mount | grep -v none | grep "/dev/" --color=never
|
|
|
|
mount | grep -v none | grep "/dev/" --color=never
|
|
|
@ -1437,7 +1437,7 @@ function check_mmc {
|
|
|
|
echo "Are you sure? I Don't see [${MMC}], here is what I do see..."
|
|
|
|
echo "Are you sure? I Don't see [${MMC}], here is what I do see..."
|
|
|
|
echo ""
|
|
|
|
echo ""
|
|
|
|
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:"
|
|
|
|
echo "mount:"
|
|
|
|
mount | grep -v none | grep "/dev/" --color=never
|
|
|
|
mount | grep -v none | grep "/dev/" --color=never
|
|
|
|