Check for the EFI distributor case-insensitively, since efi_distributor is

always forced to lower-case.
Reported by: Mario Limonciello.
This commit is contained in:
Mario Limonciello 2010-09-08 13:07:21 +01:00 committed by Colin Watson
parent f438a5be58
commit dc3d901cde
1 changed files with 1 additions and 1 deletions

View File

@ -603,7 +603,7 @@ elif [ x"$platform" = xefi ]; then
# Delete old entries from the same distributor.
for bootnum in `efibootmgr | grep '^Boot[0-9]' | \
fgrep " $efi_distributor" | cut -b5-8`; do
fgrep -i " $efi_distributor" | cut -b5-8`; do
efibootmgr $efi_quiet -b "$bootnum" -B
done