summaryrefslogtreecommitdiff
path: root/setup-disk.in
diff options
context:
space:
mode:
Diffstat (limited to 'setup-disk.in')
-rwxr-xr-xsetup-disk.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/setup-disk.in b/setup-disk.in
index 20be60c..f7eb689 100755
--- a/setup-disk.in
+++ b/setup-disk.in
@@ -297,10 +297,12 @@ get_bootopt() {
find_efi_directory() {
local mnt="$1" dir=
for dir in boot/efi boot; do
- if [ "$(find_mount_fs "$mnt"/$dir)" = vfat ]; then
- echo "$mnt"/$dir
- return
- fi
+ case "$(find_mount_fs "$mnt"/$dir)" in
+ vfat|fat|msdos)
+ echo "$mnt"/$dir
+ return
+ ;;
+ esac
done
return 1
}