umount android fix
This commit is contained in:
@@ -30,7 +30,12 @@ if ! grep simple-mtpfs /etc/mtab; then
|
|||||||
echo "Unmountable USB drive detected."
|
echo "Unmountable USB drive detected."
|
||||||
unmountusb
|
unmountusb
|
||||||
else
|
else
|
||||||
[ -z "$drives" ] && echo "Unmountable Android device detected." && unmountandroid
|
if [ -z "$drives" ]
|
||||||
|
then
|
||||||
|
echo "Unmountable Android device detected."
|
||||||
|
unmountandroid
|
||||||
|
else
|
||||||
echo "Unmountable USB drive(s) and Android device(s) detected."
|
echo "Unmountable USB drive(s) and Android device(s) detected."
|
||||||
asktype
|
asktype
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user