diff options
author | irina <irinagomez@us.es> | 2015-10-01 12:05:38 +0000 |
---|---|---|
committer | irina <irinagomez@us.es> | 2015-10-01 12:05:38 +0000 |
commit | 2b8b89904ed311e1bc1b533b9b91812f9a656aa4 (patch) | |
tree | 2c8c9ec9517402548f5884e3895ca30324d2c09b /client/engine/Boot.lib | |
parent | 28ffb59d75d150ef503a1f2fe414b1e019e137f0 (diff) |
Boot.lib corrección errata
git-svn-id: https://opengnsys.es/svn/branches/version1.1@4690 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/engine/Boot.lib')
-rwxr-xr-x | client/engine/Boot.lib | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/engine/Boot.lib b/client/engine/Boot.lib index 0360ca2f..aef8e47e 100755 --- a/client/engine/Boot.lib +++ b/client/engine/Boot.lib @@ -201,7 +201,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/}grubPARTITION/}{,boot/}{grub{,2},{,efi/}EFI/*}/{menu.lst,grub.cfg.backupu.og,grub.cfg} +for f in $MNTDIR/{,{,boot/}grubPARTITION/}{,boot/}{grub{,2},{,efi/}EFI/*}/{menu.lst,grub.cfg.backupu.og,grub.cfg}; do [ -r $f ] && CONFFILE=$f done [ -n "$CONFFILE" ] || ogRaiseError $OG_ERR_NOTFOUND "grub.cfg" || return $? @@ -1010,7 +1010,7 @@ rm -f ${MNTDIR}/etc/udev/rules.d/70-persistent-net.rules # /// FIXME: Solo para el grub instalado en MBR por Opengnsys, ampliar para más casos. #*/ -function ogGrubAddOgclient () { +ogGrubAddOgclient () { local TIMEOUT DIRMOUNT GRUBGFC PARTTABLETYPE NUMDISK NUMPART KERNEL STATUS NUMLINE MENUENTRY # Si se solicita, mostrar ayuda. |