From: srs5694 Date: Tue, 26 Jan 2016 19:45:01 +0000 (-0500) Subject: Fixed bug that caused mvrefind to give rEFInd the NVRAM name "rEFInd X-Git-Url: https://code.delx.au/refind/commitdiff_plain/b12531648e6e98c33705dffd3e79c00dab2d3ee3 Fixed bug that caused mvrefind to give rEFInd the NVRAM name "rEFInd 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). --- diff --git a/mvrefind b/mvrefind index 0c0bf15..4c2a66f 100755 --- a/mvrefind +++ b/mvrefind @@ -243,7 +243,7 @@ AddNvramEntry() { 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