d16_coreboot-libre_4.11.log: add a log got with these tools
This commit is contained in:
parent
d33dd77b57
commit
bf26547b7b
|
@ -107,12 +107,8 @@ else
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wait_for $buffer 'link becomes ready'
|
wait_for $buffer 'login:'
|
||||||
echo Network ready
|
|
||||||
|
|
||||||
wait_for $buffer 'tty'
|
|
||||||
echo Login should be ready
|
echo Login should be ready
|
||||||
|
|
||||||
echo Shutting down
|
echo Shutting down
|
||||||
shutdown
|
shutdown
|
||||||
echo Successful power cycle!
|
echo Successful power cycle!
|
||||||
|
|
File diff suppressed because one or more lines are too long
4
logs.inc
4
logs.inc
|
@ -66,7 +66,7 @@ check_logs_still_on()
|
||||||
|
|
||||||
find_in_logs()
|
find_in_logs()
|
||||||
{
|
{
|
||||||
keyword=$1
|
keyword=$@
|
||||||
while IFS= read -r line
|
while IFS= read -r line
|
||||||
do
|
do
|
||||||
echo "$line" | grep "$keyword" &> /dev/null
|
echo "$line" | grep "$keyword" &> /dev/null
|
||||||
|
@ -92,7 +92,7 @@ find_print_and_do()
|
||||||
|
|
||||||
wait_for()
|
wait_for()
|
||||||
{
|
{
|
||||||
tail -F ${1} | find_in_logs ${2}
|
tail -F ${1} | find_in_logs $@
|
||||||
}
|
}
|
||||||
|
|
||||||
react_to_info()
|
react_to_info()
|
||||||
|
|
4
ssh.inc
4
ssh.inc
|
@ -21,10 +21,10 @@
|
||||||
|
|
||||||
ssh_bmc()
|
ssh_bmc()
|
||||||
{
|
{
|
||||||
sshpass -p '0penBmc' ssh root@ppalsoc08-bmc ${@}
|
sshpass -p '0penBmc' ssh root@ppalsoc08-bmc.lip6.fr ${@}
|
||||||
}
|
}
|
||||||
|
|
||||||
ssh_hst()
|
ssh_hst()
|
||||||
{
|
{
|
||||||
sshpass -p 'password' ssh neox@ppalsoc08 ${@}
|
sshpass -p 'password' ssh neox@ppalsoc08.lip6.fr ${@}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue