1 2 3 4 5 6 7 8 9 10
#!/bin/sh set -e DEV=/dev/ttyUSB0 BAUD=115200 stty -F "$DEV" -crtscts stty -F "$DEV" speed "$BAUD" ./maverick > "$DEV"