Code:
crontab -e: */10 * * * * /home/pi/adsb/start-fr24-feeding.sh
Does anybody know what the following init sequence does configure on the stick?
Code:
echo '#43.02' > /dev/ttyACM0
crontab -e: */10 * * * * /home/pi/adsb/start-fr24-feeding.sh
echo '#43.02' > /dev/ttyACM0
#!/bin/bash BAUD=3000000 FR24FEEDER=fr24feed_arm-le_225s FR24KEY=123456789 # stop/start decoder echo Stop/start adsbox... killall -v adsbox cd /home/pi/adsb/adsbox ./adsbox --daemon --baud $BAUD --serial /dev/ttyACM0 --lat XX.XXXX --lon Y.Y --seed --seed-port 30004 echo adsbox started echo ---- # wait and let decoder start sleep 1 # stop/start feeder echo Stop/start feeder... killall -v $FR24FEEDER cd /home/pi/adsb export FR24AUTHIP=83.140.247.20 #./$FR24FEEDER --fr24key=$FR24KEY > /dev/null & echo feeder started
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Leave a comment: