diff options
author | devega <ma.devega@globunet.com> | 2019-05-13 10:58:04 +0200 |
---|---|---|
committer | devega <ma.devega@globunet.com> | 2019-05-13 10:58:04 +0200 |
commit | d619dddd6bc80694096090337e331dc51e7c5ea4 (patch) | |
tree | be46a3b2acce9b617f77eca5fc4c06315be8f82f /client/shared/scripts/poweroff | |
parent | d624c25993a589197a09ca7998764bd7727eaf08 (diff) | |
parent | 992e7e507c33cde23b494cc3d5b3e1e24fab0480 (diff) |
Merge remote-tracking branch 'origin/webconsole3' into webconsole3
Diffstat (limited to 'client/shared/scripts/poweroff')
-rwxr-xr-x | client/shared/scripts/poweroff | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/client/shared/scripts/poweroff b/client/shared/scripts/poweroff index 7297cad3..563845b3 100755 --- a/client/shared/scripts/poweroff +++ b/client/shared/scripts/poweroff @@ -30,12 +30,10 @@ ethtool -s $DEVICE wol g 2>/dev/null BUSYBOX=$(which busyboxOLD) BUSYBOX=${BUSYBOX:-"busybox"} -# Retardo para dar lugar al registro en cola de acciones. -sleep 5 -# Parar Browser para evitar "cuelgues". -[ "$ogstatus" == "offline" ] || pkill browser +# Parar agente y Browser. +ogagent stop &>/dev/null +pkill -9 browser -sendStatusToServer "off" # Apagar. $BUSYBOX poweroff |