diff options
Diffstat (limited to 'client/shared')
-rwxr-xr-x | client/shared/scripts/poweroff | 2 | ||||
-rwxr-xr-x | client/shared/scripts/reboot | 2 |
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 |