sender.sh: Allow for "ok" to be surrounded by DEBUG output.

This commit is contained in:
Ben Jackson 2011-03-03 23:50:17 -08:00 committed by Michael Moon
parent 5c0dde4e14
commit 5bb337c1a5
1 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,10 @@ stty $BAUD raw ignbrk -hup -echo ixon < $DEV
do
read -s -u 3
echo "< $REPLY"
case "$REPLY" in
*ok*) REPLY=OK ;;
*OK*) REPLY=OK ;;
esac
done
read -t 1; RV=$?
done