reorder filesystems

This commit is contained in:
Tobias Powalowski 2023-01-24 14:16:02 +01:00
parent 21212abcce
commit e375d7a4e9

View file

@ -82,7 +82,7 @@ _check_efisys_part() {
#autodetect efisys mountpoint, on fail ask for mountpoint #autodetect efisys mountpoint, on fail ask for mountpoint
_UEFISYS_MP="/$(basename "$(mount | grep "${_UEFISYSDEV}" | cut -d " " -f 3)")" _UEFISYS_MP="/$(basename "$(mount | grep "${_UEFISYSDEV}" | cut -d " " -f 3)")"
if [[ "${_UEFISYS_MP}" == "/" ]]; then if [[ "${_UEFISYS_MP}" == "/" ]]; then
_dialog --inputbox "Enter the mountpoint of your EFI System partition (Default is /boot): " 0 0 "/boot" 2>"${_ANSWER}" || return 1 _dialog --inputbox "Enter the mountpoint of your EFI System partition (Default is /efi or /boot): " 0 0 "/efi" 2>"${_ANSWER}" || return 1
_UEFISYS_MP="$(cat "${_ANSWER}")" _UEFISYS_MP="$(cat "${_ANSWER}")"
fi fi
umount "${_DESTDIR}/${_UEFISYS_MP}" &>"${_NO_LOG}" umount "${_DESTDIR}/${_UEFISYS_MP}" &>"${_NO_LOG}"