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 authored and Colin Watson committed 2010-09-08 13:07:21 +01:00
1 parent f438a5be58
commit dc3d901cde
1 file changed
+1 -1
+1 -1
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