summaryrefslogtreecommitdiffstats
path: root/client/shared/scripts/poweroff
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2019-05-27 13:36:02 +0200
committerRamón M. Gómez <ramongomez@us.es>2019-05-27 13:36:02 +0200
commitae36b2ec3cb1fa2a2915b17255a5412f1e5ddf90 (patch)
tree0ce329c352297b3c11e95e12a70de103dcffa438 /client/shared/scripts/poweroff
parent5641ae96b36c5551b83e78ae51a126adc0125afb (diff)
#907: Add new scripts to support OpenGnsys 1.1.x and 3.x versions.
Diffstat (limited to 'client/shared/scripts/poweroff')
-rwxr-xr-xclient/shared/scripts/poweroff2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/shared/scripts/poweroff b/client/shared/scripts/poweroff
index 563845b3..ad67dfc9 100755
--- a/client/shared/scripts/poweroff
+++ b/client/shared/scripts/poweroff
@@ -30,6 +30,8 @@ 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 agente y Browser.
ogagent stop &>/dev/null
pkill -9 browser