Commit d5b143b6 authored by Leigh Stoller's avatar Leigh Stoller

Add -y option, which says to close/reopen device file on error. I saw

this happen with the arduino.
parent 44baa85f
...@@ -20,7 +20,7 @@ stty -f /dev/cuaU0.lock hupcl ixon ixoff ixany crtscts ...@@ -20,7 +20,7 @@ stty -f /dev/cuaU0.lock hupcl ixon ixoff ixany crtscts
#stty -g -f /dev/cuaU0 #stty -g -f /dev/cuaU0
#echo "About to start capture" #echo "About to start capture"
/usr/testbed/sbin/capture -T 15 -r -s 9600 powduino cuaU0 >/dev/null 2>&1 & /usr/testbed/sbin/capture -y 2 -T 15 -r -s 9600 powduino cuaU0 >/dev/null 2>&1 &
## XXX debugging ## XXX debugging
#echo "Capture started, cuaU0:" #echo "Capture started, cuaU0:"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment