From fcb23dceed6dd6b9ff2234f0c32028476c189a9c Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Wed, 18 Mar 2020 14:13:08 +0100 Subject: #971 run ogClient (replace ogAdmClient) This commit changes the bash script that the clients execute at the init fase to launch the new ogClient instead of the old ogAdmClient. This way the client works with the new ogAdmServer that do not use custom protocol SocketHidra anymore. --- client/shared/etc/init/default.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'client') diff --git a/client/shared/etc/init/default.sh b/client/shared/etc/init/default.sh index 0e653e05..d2e3681f 100755 --- a/client/shared/etc/init/default.sh +++ b/client/shared/etc/init/default.sh @@ -18,9 +18,8 @@ echo "${MSG_LAUNCHCLIENT:-.}" # Indicar fichero de teclado de Qt para el idioma especificado (tipo "es.qmap"). [ -f /usr/local/etc/${LANG%_*}.qmap ] && export QWS_KEYBOARD="TTY:keymap=/usr/local/etc/${LANG%_*}.qmap" -if [ -x "$OPENGNSYS/bin/ogAdmClient" -a "$ogstatus" != "offline" ]; then - # Ejecutar servicio cliente. - $OPENGNSYS/bin/ogAdmClient -f $OPENGNSYS/etc/ogAdmClient.cfg -l $OGLOGFILE -d $LOGLEVEL +if [ "$ogstatus" != "offline" ]; then + python3 /opt/opengnsys/ogClient/main.py else for FILE in index $OGGROUP $(ogGetIpAddress) do -- cgit v1.2.3-18-g5258