mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-01-11 04:42:48 +01:00
Compare commits
No commits in common. "c2ae326994472b9c2380995aba7776721f0b2fd7" and "46a7838825b45c85ad41fcab439958f136517ad5" have entirely different histories.
c2ae326994
...
46a7838825
@ -103,11 +103,5 @@ if hash needrestart 2>/dev/null; then
|
|||||||
needrestart -b
|
needrestart -b
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Sedric workaround, located in this repo. I trust /root/
|
|
||||||
if [ -f /root/fixgrub.bash ]
|
|
||||||
then
|
|
||||||
/root/fixgrub.bash
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Hide commands being executed again
|
# Hide commands being executed again
|
||||||
set +x
|
set +x
|
||||||
|
@ -5,12 +5,8 @@
|
|||||||
# me what is going on. This is an ugly workaround.
|
# me what is going on. This is an ugly workaround.
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
|
# TODO: If this is to become more sophisciated and check for Fedora
|
||||||
# This script is Fedora specific.
|
# detect based on /boot/efi/EFI/fedora/grub.cfg, not rpmsave?
|
||||||
if [ -f /boot/efi/EFI/fedora/grub.cfg ]
|
rm -f /boot/efi/EFI/fedora/grub.cfg.rpmsave
|
||||||
then
|
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
|
||||||
rm -f /boot/efi/EFI/fedora/grub.cfg.rpmsave
|
|
||||||
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
|
|
||||||
fi
|
|
||||||
|
|
||||||
set +x
|
set +x
|
||||||
|
Loading…
Reference in New Issue
Block a user