xref: /openbmc/openbmc-tools/reboot/petitboot.exp (revision 47007c29c277a0861268cb639f516807b0e0deb7)
1#!/usr/bin/expect -df --
2
3set timeout 300
4
5spawn ssh -p2200 {*}[lrange $argv 0 end]
6
7expect {
8	-ex "Petitboot"	{ exit }
9	timeout 	{ exit 1 }
10	eof		{ exit 2 }
11	.*		{ exp_continue }
12}
13