mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-16 16:19:22 +01:00
fixgrub.bash: comment everything, add warning on it being wrong
This commit is contained in:
parent
faf27b4f4a
commit
fb9fea60c5
@ -4,14 +4,15 @@
|
|||||||
# meeting a strange system including graphical boot screen and not telling
|
# meeting a strange system including graphical boot screen and not telling
|
||||||
# me what is going on. This is an ugly workaround.
|
# 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.
|
# 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
|
#if [ -f /boot/efi/EFI/fedora/grub.cfg.rpmsave ]; then
|
||||||
rm -f /boot/efi/EFI/fedora/grub.cfg.rpmsave
|
# rm -f /boot/efi/EFI/fedora/grub.cfg.rpmsave
|
||||||
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
|
# grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
set +x
|
#set +x
|
||||||
|
Loading…
Reference in New Issue
Block a user