summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2020-03-18 14:13:08 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-06-02 12:32:36 +0200
commitfcb23dceed6dd6b9ff2234f0c32028476c189a9c (patch)
treeaf54de010e922d7ff5739fb7b1371041dfc154e3
parent51ce65ce86230d5a9320b83cd3be20da2dbb09ef (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-xclient/shared/etc/init/default.sh5
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