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, 2 insertions, 4 deletions
diff --git a/installer/opengnsys_import.sh b/installer/opengnsys_import.sh
index 528b8c3e..e2f13d50 100755
--- a/installer/opengnsys_import.sh
+++ b/installer/opengnsys_import.sh
@@ -35,8 +35,8 @@ MYSQLFILE="$TMPDIR/$CATALOG.sql"
MYSQLBCK="$OPENGNSYS/doc/$CATALOG.sql-$DATE"
LOG_FILE=$OPENGNSYS/log/${PROG%.sh}.log
-BRANCH="branches/devel"
-SVN_URL="https://github.com/opengnsys/OpenGnsys/$BRANCH/admin/Database"
+BRANCH="master"
+SVN_URL="https://github.com/opengnsys/OpenGnsys/branches/$BRANCH/admin/Database"
DEFAULT_MYSQL_ROOT_PASSWORD="passwordroot" # Clave por defecto root de MySQL
# Si se solicita, mostrar ayuda.
@@ -327,8 +327,6 @@ if [ -f $OPENGNSYS/tftpboot/menu.lst/templates/01 ]; then
BIOSPXEDIR="$OPENGNSYS/tftpboot/menu.lst/templates"
mv $BIOSPXEDIR/01 $BIOSPXEDIR/10
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