umount android fix
This commit is contained in:
parent
21b4f8c613
commit
cbcd5e0c62
1 changed files with 8 additions and 3 deletions
|
@ -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" ]
|
||||||
echo "Unmountable USB drive(s) and Android device(s) detected."
|
then
|
||||||
asktype
|
echo "Unmountable Android device detected."
|
||||||
|
unmountandroid
|
||||||
|
else
|
||||||
|
echo "Unmountable USB drive(s) and Android device(s) detected."
|
||||||
|
asktype
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue