summaryrefslogtreecommitdiffstats
path: root/installer/opengnsys_update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'installer/opengnsys_update.sh')
-rwxr-xr-xinstaller/opengnsys_update.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/installer/opengnsys_update.sh b/installer/opengnsys_update.sh
index ffe262d8..904a1184 100755
--- a/installer/opengnsys_update.sh
+++ b/installer/opengnsys_update.sh
@@ -53,8 +53,8 @@ if [ ! -d $INSTALL_TARGET ]; then
exit 1
fi
# Cargar configuraciĆ³n de acceso a la base de datos.
-if [ -r $INSTALL_TARGET/etc/ogAdmServer.cfg ]; then
- source $INSTALL_TARGET/etc/ogAdmServer.cfg
+if [ -r $INSTALL_TARGET/etc/ogserver.cfg ]; then
+ source $INSTALL_TARGET/etc/ogserver.cfg
fi
OPENGNSYS_DATABASE=${OPENGNSYS_DATABASE:-"$CATALOG"} # Base de datos
OPENGNSYS_DBUSER=${OPENGNSYS_DBUSER:-"$USUARIO"} # Usuario de acceso
@@ -1075,7 +1075,7 @@ function ogServerCompilation()
echoAndLog "${FUNCNAME}(): Recompiling OpenGnsys Admin Server"
pushd "$WORKDIR/ogServer-$BRANCH"
- autoreconf -fi && ./configure && make && moveNewService ogAdmServer $INSTALL_TARGET/sbin
+ autoreconf -fi && ./configure && make && moveNewService ogserver $INSTALL_TARGET/sbin
if [ $? -ne 0 ]; then
echoAndLog "${FUNCNAME}(): error while compiling OpenGnsys Server"
error=1
@@ -1089,7 +1089,7 @@ function ogServerCompilation()
rm -f $INSTALL_TARGET/sbin/ogAdmAgent
# Generar un API token de ogAdmServer si no existe en el fichero de configuraciĆ³n.
- grep -q "APITOKEN=" $INSTALL_TARGET/etc/ogAdmServer.cfg || \
+ grep -q "APITOKEN=" $INSTALL_TARGET/etc/ogserver.cfg || \
$INSTALL_TARGET/bin/settoken -f
if ! diff -q \