nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0001-centos-grub2-password-fix.patch

086ec3
From b6370991cc254737d07d04d2dca4fef1215e2536 Mon Sep 17 00:00:00 2001
086ec3
From: Johnny Hughes <johnny@centos.org> 
086ec3
Date: Tue, 15 Dec 2015 12:26:48 -0600
086ec3
Subject: [PATCH] centos grub2-password fix
086ec3
086ec3
---
086ec3
 util/grub-setpassword.in | 2 +-
086ec3
 1 file changed, 1 insertion(+), 1 deletion(-)
086ec3
086ec3
diff --git a/util/grub-setpassword.in b/util/grub-setpassword.in
086ec3
index dd76f00..a322dfb 100755
086ec3
--- a/util/grub-setpassword.in
086ec3
+++ b/util/grub-setpassword.in
086ec3
@@ -1,7 +1,7 @@
086ec3
 #!/bin/sh -e
086ec3
 
086ec3
 if [ -d /sys/firmware/efi/efivars/ ]; then
086ec3
-    grubdir=`echo "/@bootdirname@/efi/EFI/redhat/" | sed 's,//*,/,g'`
086ec3
+    grubdir=`echo "/@bootdirname@/efi/EFI/centos/" | sed 's,//*,/,g'`
086ec3
 else
086ec3
     grubdir=`echo "/@bootdirname@/@grubdirname@" | sed 's,//*,/,g'`
086ec3
 fi
086ec3
-- 
086ec3
1.8.3.1
086ec3