https://www.luisllamas.es/como-apagar-o-reiniciar-correctamente-raspberry-pi/
Cómo apagar o reiniciar Raspberry Pi correctamente