git.cweiske.de
/
usb-wde1-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
77ac967
)
add run command
author
Christian Weiske
<cweiske@cweiske.de>
Sun, 6 Feb 2011 21:38:07 +0000
(22:38 +0100)
committer
Christian Weiske
<cweiske@cweiske.de>
Sun, 6 Feb 2011 21:38:07 +0000
(22:38 +0100)
munin/usb-wde1-log-last.sh
patch
|
blob
|
history
diff --git
a/munin/usb-wde1-log-last.sh
b/munin/usb-wde1-log-last.sh
index 9fca86439da1791ab1aa08c8cc159cc8c8bd9a0e..4f91844ecd62ba3f5c75731c09a8e550f6ffc4ea 100755
(executable)
--- 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
#!/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
socat /dev/ttyUSB0,b9600 STDOUT\
| ./log-single-line.sh /tmp/usb-wde1-last