mirror of
https://github.com/rocky-linux/rocky-tools.git
synced 2024-06-02 19:00:16 +00:00
Merge 2be51d173f
into bb1ab80f46
This commit is contained in:
commit
a4b25725d6
|
@ -1224,6 +1224,9 @@ efi_check () {
|
||||||
elif [[ -d /sys/firmware/efi/ ]]; then
|
elif [[ -d /sys/firmware/efi/ ]]; then
|
||||||
declare -g update_efi
|
declare -g update_efi
|
||||||
update_efi=true
|
update_efi=true
|
||||||
|
else
|
||||||
|
declare -g update_bios
|
||||||
|
update_bios=true
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1317,6 +1320,8 @@ fi
|
||||||
|
|
||||||
if [[ $update_efi && $convert_to_rocky ]]; then
|
if [[ $update_efi && $convert_to_rocky ]]; then
|
||||||
fix_efi
|
fix_efi
|
||||||
|
elif [[ $update_bios && $convert_to_rocky ]]; then
|
||||||
|
grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf '\n\n\n'
|
printf '\n\n\n'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user