diff options
author | ramon <ramongomez@us.es> | 2013-06-05 17:22:21 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2013-06-05 17:22:21 +0000 |
commit | bd82ffb6a3b2cb37f425fdb84c63efa0e9d5e590 (patch) | |
tree | 6e6c36a87a90b0f987f32e5e4a878f67c72048be /client/shared/scripts/reboot | |
parent | 0d1f74ff894c076bda8e4f4643934c24e8b62df0 (diff) |
Versión 1.0.5: Recuperar parte del código de versión 1.0.4a para scripts {{{poweroff}}} y {{{reboot}}}, ejecutando retardo en 2º plano para poder registrar el fin del proceso en la cola de acciones.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3857 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared/scripts/reboot')
-rwxr-xr-x | client/shared/scripts/reboot | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/shared/scripts/reboot b/client/shared/scripts/reboot index 611fd6c4..1497ecbb 100755 --- a/client/shared/scripts/reboot +++ b/client/shared/scripts/reboot @@ -17,6 +17,6 @@ ethtool -s $DEVICE wol g 2>/dev/null # Detectar Busybox. BUSYBOX=$(which busyboxOLD) BUSYBOX=${BUSYBOX:-"busybox"} -(sleep 5 && $BUSYBOX reboot) - +# Retardo en 2º plano para dar lugar al registro en cola de acciones. +(sleep 5; $BUSYBOX reboot) & |