Created
November 8, 2021 21:23
-
-
Save yuri1969/0f75c8661682b04a9590bd9ac0ff638f to your computer and use it in GitHub Desktop.
Gentoo Grub updater
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
{ grub-install --target=x86_64-efi /dev/sda && grub-mkconfig -o /boot/grub/grub.cfg } || { echo "*** ERROR ***" >&2; exit 1; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment