Add RockyLinux support
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
6614774225
commit
898f8a8333
1 changed files with 2 additions and 0 deletions
|
|
@ -3,6 +3,8 @@
|
||||||
. /etc/os-release
|
. /etc/os-release
|
||||||
if [ -d /sys/firmware/efi -a -e /boot/efi/EFI/centos/grub.cfg ]; then
|
if [ -d /sys/firmware/efi -a -e /boot/efi/EFI/centos/grub.cfg ]; then
|
||||||
CONFDIR=/boot/efi/EFI/centos
|
CONFDIR=/boot/efi/EFI/centos
|
||||||
|
elif [ -d /sys/firmware/efi -a -e /boot/efi/EFI/rocky/grub.cfg ]; then
|
||||||
|
CONFDIR=/boot/efi/EFI/rocky
|
||||||
elif [ -d /sys/firmware/efi -a -e /boot/efi/EFI/almalinux/grub.cfg ]; then
|
elif [ -d /sys/firmware/efi -a -e /boot/efi/EFI/almalinux/grub.cfg ]; then
|
||||||
CONFDIR=/boot/efi/EFI/almalinux
|
CONFDIR=/boot/efi/EFI/almalinux
|
||||||
elif [ -d /sys/firmware/efi -a -e /boot/efi/EFI/redhat/grub.cfg ]; then
|
elif [ -d /sys/firmware/efi -a -e /boot/efi/EFI/redhat/grub.cfg ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue