2 # logs the last line. usable via nohup on the server
3 # FIXME: send RESET or INIT and M2
4 # FIXME: use absolute path for log-single-line.sh
6 # run command: nohup ./usb-wde1-log-last.sh &
8 socat /dev/ttyUSB0,b9600 STDOUT\
9 | ./log-single-line.sh /tmp/usb-wde1-last