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
|
||||
#! /bin/sh
|
||||
|
||||
# Start with logging.
|
||||
rtl_sdr -d ${DUMP978DEVICE} -f 978000000 -s 2083334 -g 48 - | ${DUMP978DIR}/dump978 > /var/log/dump978.log &
|
||||
# Start without logging.
|
||||
while true; do
|
||||
tail -n0 -f /var/log/dump978.log | ${DUMP978DIR}/uat2json /var/www/html/dump978/data
|
||||
tail -n0 -f /var/log/dump978.log | ${DUMP978DIR}/uat2esnt | /bin/nc -q1 127.0.0.1 30001
|
||||
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 &
|
||||
sleep 15
|
||||
done
|
||||
EOF
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue