summaryrefslogtreecommitdiffstats
path: root/client/engine/Boot.lib
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2020-01-28 12:36:37 +0100
committerRamón M. Gómez <ramongomez@us.es>2020-01-28 12:36:37 +0100
commit58f59cee1e9575be4a051af5f4721f9516f0f61a (patch)
tree62f98cec90378c5f2d4a83bc4a1d42706d68a987 /client/engine/Boot.lib
parentf7c417ae575e2a59cb9450ea17b732993df331c3 (diff)
#946: Fix Fedora 30 boot support.
Diffstat (limited to 'client/engine/Boot.lib')
-rwxr-xr-xclient/engine/Boot.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/engine/Boot.lib b/client/engine/Boot.lib
index 83d81752..eb3d923b 100755
--- a/client/engine/Boot.lib
+++ b/client/engine/Boot.lib
@@ -264,7 +264,7 @@ MNTDIR=$(ogMount $1 $2) || return $?
# Fichero de configuración de GRUB.
CONFDIR=$MNTDIR # Sistema de archivos de arranque (/boot).
[ -d $MNTDIR/boot ] && CONFDIR=$MNTDIR/boot # Sist. archivos raíz con directorio boot.
-for f in $MNTDIR/{,boot/}{{grubMBR,grubPARTITION}/boot/,}{grub{,2},{,efi/}EFI/*}/{menu.lst,grub.cfg}; do
+for f in $MNTDIR/{,boot/}{{grubMBR,grubPARTITION}/boot/,}{grub{2,},{,efi/}EFI/*}/{menu.lst,grub.cfg}; do
[ -r $f ] && CONFFILE=$f
done
[ -n "$CONFFILE" ] || ogRaiseError $OG_ERR_NOTFOUND "grub.cfg" || return $?