quiet
[rtl433-sensors] / mqtt-pgsql.sh
index c0d56fa..796da99 100755 (executable)
@@ -1,6 +1,6 @@
-#!/bin/sh -xe
+#!/bin/sh -e
 
 mosquitto_sub -h 10.13.37.5 -t rpi2/rtl433/json | while read json ; do
        echo $json > /dev/shm/rtl433.json
-       psql -c "copy rtl433 (json) from '/dev/shm/rtl433.json'" rot13
+       psql --quiet -c "copy rtl433 (json) from '/dev/shm/rtl433.json'" rot13
 done