From b12531648e6e98c33705dffd3e79c00dab2d3ee3 Mon Sep 17 00:00:00 2001 From: srs5694 Date: Tue, 26 Jan 2016 14:45:01 -0500 Subject: [PATCH] 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). --- mvrefind | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2