summaryrefslogtreecommitdiffstats
path: root/client/shared
diff options
context:
space:
mode:
Diffstat (limited to 'client/shared')
-rwxr-xr-xclient/shared/scripts/poweroff2
-rwxr-xr-xclient/shared/scripts/reboot2
2 files changed, 4 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
diff --git a/client/shared/scripts/reboot b/client/shared/scripts/reboot
index 30362cc7..4bd9b34c 100755
--- a/client/shared/scripts/reboot
+++ b/client/shared/scripts/reboot
@@ -44,6 +44,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 $TIME
# Parar agente y Browser.
ogagent stop &>/dev/null
pkill -9 browser