git.cweiske.de
/
usb-wde1-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
munin/usb-wde1-log-last.sh
@@ -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