summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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