diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2020-03-18 14:13:08 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-05-19 18:29:46 +0200 |
commit | 126e5ecb0c19800743ecdccb18aed8faaa3f2edd (patch) | |
tree | a267c9457d034a0e0b4dec9bbd4a5a82ec7f84b2 | |
parent | db391830baa1f00dd6b9467bab3d2ab0a0d784a1 (diff) |
#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.
-rwxr-xr-x | client/shared/etc/init/default.sh | 5 |
1 files changed, 2 insertions, 3 deletions
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 |