aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-02-06 22:38:07 +0100
committerChristian Weiske <cweiske@cweiske.de>2011-02-06 22:38:07 +0100
commitdff892e8db134c378ef449820bc2a1090cb47b92 (patch)
tree4396e9d51df45a0ee00da95b13e7308d8570e33e
parent77ac967937a7137de9dd8e20dac31c2ae76b00cc (diff)
downloadusb-wde1-tools-dff892e8db134c378ef449820bc2a1090cb47b92.tar.gz
usb-wde1-tools-dff892e8db134c378ef449820bc2a1090cb47b92.zip
add run command
-rwxr-xr-xmunin/usb-wde1-log-last.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/munin/usb-wde1-log-last.sh b/munin/usb-wde1-log-last.sh
index 9fca864..4f91844 100755
--- a/munin/usb-wde1-log-last.sh
+++ b/munin/usb-wde1-log-last.sh
@@ -1,5 +1,9 @@
#!/bin/sh
# logs the last line. usable via nohup on the server
# FIXME: send RESET or INIT and M2
+# FIXME: use absolute path for log-single-line.sh
+#
+# run command: nohup ./usb-wde1-log-last.sh &
+#
socat /dev/ttyUSB0,b9600 STDOUT\
| ./log-single-line.sh /tmp/usb-wde1-last