add run command
[usb-wde1-tools.git] / munin / usb-wde1-log-last.sh
1 #!/bin/sh
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
5 #
6 # run command: nohup ./usb-wde1-log-last.sh &
7 #
8 socat /dev/ttyUSB0,b9600 STDOUT\
9  | ./log-single-line.sh /tmp/usb-wde1-last