aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-10-22 13:49:33 +0200
committerChristian Weiske <cweiske@cweiske.de>2011-10-22 13:49:33 +0200
commitdfdadfc0ee73f552273966135963be036c5d4223 (patch)
treecd8aee35377cf000bd61d64b651780ad4856eb33
parentab5b70e4a5218c0cff0c9abf1b81db63679a44fa (diff)
downloadusb-wde1-tools-dfdadfc0ee73f552273966135963be036c5d4223.tar.gz
usb-wde1-tools-dfdadfc0ee73f552273966135963be036c5d4223.zip
use socat again, with correct parameters this time
-rwxr-xr-xmunin/usb-wde1-log-last.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/munin/usb-wde1-log-last.sh b/munin/usb-wde1-log-last.sh
index 2fd070b..9603dce 100755
--- a/munin/usb-wde1-log-last.sh
+++ b/munin/usb-wde1-log-last.sh
@@ -24,9 +24,6 @@ else
#socat breaks something that leads to
# WRONG VAL, WRONG CMD and FullBuff->Reset
# errors
- #socat /dev/ttyUSB0,b9600 STDOUT\
-
- # quit cu with "~."
- cu -l /dev/ttyUSB0 -s 9600\
+ socat /dev/ttyUSB0,b9600,min=1,time=1,brkint=0,icrnl=0,ixoff=1,imaxbel=0,opost=0,isig=0,icanon=0,iexten=0,echo=0,echoe=0,echok=0 STDOUT\
| $curdir/log-single-line.sh /tmp/usb-wde1-last
fi