don't create temp file
authorDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 4 Sep 2018 16:21:24 +0000 (18:21 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 4 Sep 2018 16:21:24 +0000 (18:21 +0200)
rtl_433-json-mqtt.sh

index a80405a..93c275d 100755 (executable)
@@ -1,6 +1,4 @@
 #!/bin/sh -xe
 
-rtl_433 -G -F json -U \
-| tee /dev/shm/433.json \
-| mosquitto_pub -t `hostname -s`/rtl433/json -l
+rtl_433 -G -F json -U | mosquitto_pub -t `hostname -s`/rtl433/json -l