mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-01-03 16:52:31 +01:00
bash: add fixgrub.bash to workaround Sedric grub overwrite
This commit is contained in:
parent
d7cb8f093e
commit
46a7838825
12
bash/fixgrub.bash
Executable file
12
bash/fixgrub.bash
Executable file
@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# On Sedric Fedora keeps overwriting my grub modifications so I keep
|
||||
# meeting a strange system including graphical boot screen and not telling
|
||||
# me what is going on. This is an ugly workaround.
|
||||
|
||||
set -x
|
||||
# TODO: If this is to become more sophisciated and check for Fedora
|
||||
# detect based on /boot/efi/EFI/fedora/grub.cfg, not rpmsave?
|
||||
rm -f /boot/efi/EFI/fedora/grub.cfg.rpmsave
|
||||
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
|
||||
set +x
|
Loading…
Reference in New Issue
Block a user