log last script
[usb-wde1-tools.git] / munin / usb-wde1-log-last.sh
diff --git a/munin/usb-wde1-log-last.sh b/munin/usb-wde1-log-last.sh
new file mode 100644 (file)
index 0000000..9fca864
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+# logs the last line. usable via nohup on the server
+# FIXME: send RESET or INIT and M2
+socat /dev/ttyUSB0,b9600 STDOUT\
+ | ./log-single-line.sh /tmp/usb-wde1-last