2 # logs the last line. usable via nohup on the server
4 # run this script as follows:
5 # $ nohup ./usb-wde1-log-last.sh &
7 # License: http://www.gnu.org/licenses/agpl.html AGPL
8 # Author: Christian Weiske <cweiske@cweiske.de>
10 # FIXME: send RESET or INIT and M2
11 # FIXME: use absolute path for log-single-line.sh
13 socat /dev/ttyUSB0,b9600 STDOUT\
14 | ./log-single-line.sh /tmp/usb-wde1-last