Testing reboots

Today, I had to do a lot of reboots just to check one issue with ACPI that could prevent a machine to correctly boot up. I begun doing up to ten reboots, but in the end, I could not bare with that, and did this small script to check it( just needed to put my public ssh key on the machine:

#!/bin/bash
for i in {1..50}
do
sleep 90
echo "Reboot $i "
ssh root@192.168.1.57 init 6
done

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

Este sitio usa Akismet para reducir el spam. Aprende cómo se procesan los datos de tus comentarios.