Boot Manager" when installing it in the Windows boot manager's
location, rather than the intended "Windows Boot Manager" (to work
around bugs in some EFIs).
fi
if [[ $InstallIt == "1" ]] ; then
- if [[ $EfiTargetDir == "/efi/microsoft/boot" ]] ; then
+ if [[ $EspTargetDir == "/efi/microsoft/boot" ]] ; then
# Name it the way some firmware expects -- see http://mjg59.dreamwidth.org/20187.html
$Efibootmgr -c -l $EfiEntryFilename -L "Windows Boot Manager" -d $InstallDisk -p $PartNum &> /dev/null
else