From fb9fea60c5b5349114e5268ffde5909d8bf428ad Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Wed, 20 Dec 2023 10:38:26 +0200 Subject: [PATCH] fixgrub.bash: comment everything, add warning on it being wrong --- bash/fixgrub.bash | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/bash/fixgrub.bash b/bash/fixgrub.bash index ec76476..78becb4 100755 --- a/bash/fixgrub.bash +++ b/bash/fixgrub.bash @@ -4,14 +4,15 @@ # meeting a strange system including graphical boot screen and not telling # me what is going on. This is an ugly workaround. -set -x +#set -x -# This script is Fedora specific for now. +# This script is Fedora specific for now. AND COMPLETELY WRONG! +# READ https://fedoraproject.org/wiki/GRUB_2 !!!!! # There is no reason to run if dnf hasn't moved the proper config aside. -if [ -f /boot/efi/EFI/fedora/grub.cfg.rpmsave ]; then - rm -f /boot/efi/EFI/fedora/grub.cfg.rpmsave - grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg -fi +#if [ -f /boot/efi/EFI/fedora/grub.cfg.rpmsave ]; then +# rm -f /boot/efi/EFI/fedora/grub.cfg.rpmsave +# grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg +#fi -set +x +#set +x