Magellan Linux

Diff of /trunk/grubby/grubby-bls

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3169 by niro, Thu Jul 27 14:27:01 2023 UTC revision 3170 by niro, Thu Jul 27 14:28:22 2023 UTC
# Line 561  done Line 561  done
561    
562  if [[ -z $blsdir ]]; then  if [[ -z $blsdir ]]; then
563      blsdir="/boot/loader/entries"      blsdir="/boot/loader/entries"
     if [[ -d /sys/firmware/efi ]]; then  
  efidir="$(grep ^ID= /etc/os-release | sed -e 's/^ID=//' -e 's/rhel/redhat/')"  
  blsdir="/boot/efi/EFI/${efidir}/loader/entries"  
     fi  
564  fi  fi
565    
566  if [[ -z $env ]]; then  if [[ -z $env ]]; then

Legend:
Removed from v.3169  
changed lines
  Added in v.3170