mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
bsdinstall: Improve message for existing FreeBSD EFI entry
When reinstalling FreeBSD bsdinstall reported "There are multiple FreeBSD EFI boot entries." This sounds like something went wrong in the past. Clarify that there may be only one existing entry, which is not surprising for a reinstall. Reviewed by: manu, ziaee Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D51527
This commit is contained in:
parent
f261b63307
commit
ebc6ff8db1
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ update_uefi_bootentry()
|
|||
fi
|
||||
|
||||
$DIALOG --backtitle "$OSNAME Installer" --title 'Boot Configuration' \
|
||||
--yesno "There are multiple \"$OSNAME\" EFI boot entries. Would you like to remove them all and add a new one?" 0 0
|
||||
--yesno "One or more \"$OSNAME\" EFI boot manager entries already exist. Would you like to remove them all and add a new one?" 0 0
|
||||
if [ $? -eq $DIALOG_OK ]; then
|
||||
for entry in $(efibootmgr | awk "\$NF == \"$EFI_LABEL_NAME\" { sub(/.*Boot/,\"\", \$1); sub(/\*/,\"\", \$1); print \$1 }"); do
|
||||
efibootmgr -B -b ${entry}
|
||||
|
|
|
|||
Loading…
Reference in a new issue