Commit d5b143b6 authored by Leigh B Stoller's avatar Leigh B 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
#stty -g -f /dev/cuaU0
#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
#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