Skip to content
This repository
Browse code

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

  • Loading branch information...
commit 5bb337c1a55dcae651186313cf39555244650f84 1 parent 5c0dde4
Ben Jackson bjj authored triffid committed

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. +4 0 sender.sh
4 sender.sh
@@ -19,6 +19,10 @@ stty $BAUD raw ignbrk -hup -echo ixon < $DEV
19 19 do
20 20 read -s -u 3
21 21 echo "< $REPLY"
  22 + case "$REPLY" in
  23 + *ok*) REPLY=OK ;;
  24 + *OK*) REPLY=OK ;;
  25 + esac
22 26 done
23 27 read -t 1; RV=$?
24 28 done

0 comments on commit 5bb337c

Please sign in to comment.
Something went wrong with that request. Please try again.