make curl --silent
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 12 Dec 2020 17:32:30 +0000 (17:32 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 12 Dec 2020 17:32:30 +0000 (17:32 +0000)
influx.sh

index ce6f761..2f6b46b 100755 (executable)
--- a/influx.sh
+++ b/influx.sh
@@ -3,5 +3,5 @@
 stty -F /dev/ttyUSB0 ispeed 115200 cs8 -cstopb -parenb -echo igncr
 
 cat /dev/ttyUSB0 | while read line ; do
-       curl -XPOST "http://10.13.37.92:8086/write?consistency=any&db=rot13" --data-binary "grove,dc=trnjanska,host=$(hostname -s) $line"
+       curl --silent -XPOST "http://10.13.37.92:8086/write?consistency=any&db=rot13" --data-binary "grove,dc=trnjanska,host=$(hostname -s) $line"
 done