mirror of
https://github.com/armbian/autotests.git
synced 2026-01-06 10:31:09 -08:00
This makes now very easy to add new tests. TODO: - add option to display problems only - set timeout and report error if host doesn't come up after reboot. Now it doesn't go out of the cycle
10 lines
239 B
Bash
Executable File
10 lines
239 B
Bash
Executable File
#!/bin/bash
|
|
|
|
source $SRC/lib/functions.sh
|
|
|
|
display_alert "$(basename $BASH_SOURCE)" "$(date +%R:%S)" "info"
|
|
display_alert "Rebooting in 5 seconds" "${HOST}" "wrn"
|
|
sleep 5
|
|
sshpass -p ${PASS_ROOT} ssh ${USER_ROOT}@${HOST} "reboot"
|
|
sleep 10
|