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