From: Dobrica Pavlinusic Date: Sat, 12 Dec 2020 17:32:30 +0000 (+0000) Subject: make curl --silent X-Git-Url: http://git.rot13.org/?p=GroveSensor;a=commitdiff_plain;h=40b18decc2373b3f708d2e351f32698bb2ec877e;hp=fe672dc152443adb4f63ff91cc4f514158ee5398 make curl --silent --- diff --git a/influx.sh b/influx.sh index ce6f761..2f6b46b 100755 --- 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