Hi Tushar,
I am facing a problem with the above implementation.set search_string="Executing boot script in 3.000 seconds"
timeout 50
verbose on
send "\n\r\n\r"
expect {
"$search_string" break
timeout 2 goto abort
}
abort:
print \nGiving cntl+c command on minicom
send "\^C\r"
send "\^C"
send \^C\r
send ^C\r
expect {
"RedBoot>" break
timeout 3 goto panic
}
print \n!!!!!!Bye Bye runscript!!!!!!!
sleep 2
panic:
print \n!!!!!!Bye Bye Minicom!!!!!!!\n
! killall -2 minicom
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies