Check for NTFS before FAT.

This commit is contained in:
Slawomir Wojciech Wojtczak (vermaden) 2015-06-08 23:22:51 +02:00
parent 60a2f698fb
commit f6b30298b4
1 changed files with 5 additions and 5 deletions

View File

@ -340,16 +340,16 @@ __fstype() { # 1=DEV
TYPE=UFS TYPE=UFS
return return
fi fi
if echo "${TYPE}" | grep -q 'FAT'
then
TYPE=FAT
return
fi
if echo "${TYPE}" | grep -q 'NTFS' if echo "${TYPE}" | grep -q 'NTFS'
then then
TYPE=NTFS TYPE=NTFS
return return
fi fi
if echo "${TYPE}" | grep -q 'FAT'
then
TYPE=FAT
return
fi
fi fi
TYPE=-1 TYPE=-1
return return