kopia lustrzana https://github.com/jprochazka/adsb-receiver
Sacrificed logging to make dump978 feed proper.
rodzic
c4859db940
commit
1fe205299e
|
|
@ -143,11 +143,9 @@ echo -e "\033[37m"
|
||||||
tee $DUMP978DIR/dump978-maint.sh > /dev/null <<EOF
|
tee $DUMP978DIR/dump978-maint.sh > /dev/null <<EOF
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
# Start with logging.
|
# Start without logging.
|
||||||
rtl_sdr -d ${DUMP978DEVICE} -f 978000000 -s 2083334 -g 48 - | ${DUMP978DIR}/dump978 > /var/log/dump978.log &
|
|
||||||
while true; do
|
while true; do
|
||||||
tail -n0 -f /var/log/dump978.log | ${DUMP978DIR}/uat2json /var/www/html/dump978/data
|
rtl_sdr -d ${DUMP978DEVICE} -f 978000000 -s 2083334 -g 48 - | ${DUMP978DIR}/dump978 | ${DUMP978DIR}/uat2json /var/www/html/dump978/data | ${DUMP978DIR}/uat2esnt | /bin/nc -q1 127.0.0.1 30001 &
|
||||||
tail -n0 -f /var/log/dump978.log | ${DUMP978DIR}/uat2esnt | /bin/nc -q1 127.0.0.1 30001
|
|
||||||
sleep 15
|
sleep 15
|
||||||
done
|
done
|
||||||
EOF
|
EOF
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue