summaryrefslogtreecommitdiffstats
path: root/installer/opengnsys_import.sh
diff options
context:
space:
mode:
Diffstat (limited to 'installer/opengnsys_import.sh')
-rwxr-xr-xinstaller/opengnsys_import.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/installer/opengnsys_import.sh b/installer/opengnsys_import.sh
index 0197a775..528b8c3e 100755
--- a/installer/opengnsys_import.sh
+++ b/installer/opengnsys_import.sh
@@ -326,9 +326,9 @@ if [ -f $OPENGNSYS/tftpboot/menu.lst/templates/01 ]; then
echo " * Cambio del nombre de las plantillas PXE para compatibilidad con UEFI."
BIOSPXEDIR="$OPENGNSYS/tftpboot/menu.lst/templates"
mv $BIOSPXEDIR/01 $BIOSPXEDIR/10
- sed -i s/MBR/1hd/ $BIOSPXEDIR/10
- sed -i s/1hd-1partition/1hd-1os/ $BIOSPXEDIR/11
- sed -i s/1hd-2partition/1hd-2os/ $BIOSPXEDIR/12
+ sed -i "s/\bMBR\b/1hd/" $BIOSPXEDIR/10
+ sed -i "s/\b1hd-1partition\b/1hd-1os/" $BIOSPXEDIR/11
+ sed -i "s/\b1hd-2partition\b/1hd-2os/" $BIOSPXEDIR/12
# Cambiamos el valor en la base de datos. Si no lo hacemos desaparecen de las columnas del NetBootAvanzado.
mysql --defaults-extra-file=$MYCNF -D "$CATALOG" -e "update ordenadores set arranque='10' where arranque='01';" &>/dev/null