Skip to content

Instantly share code, notes, and snippets.

@giorgix3
giorgix3 / OpenSky-flarm.sh
Last active April 17, 2019 11:24
OpenSky-flarm.sh
#!/bin/bash
echo "Thank you for feeding your FLARM data to OpenSky!"
echo
#If the device is a RaspberryPi, upgrade ogn-decode to version 0.2.7
if [[ $(tr -d '\0' </proc/device-tree/model) == *"Raspberry"* ]]
then
echo "Upgrading ogn-decode to the lastest version"
wget -O ogn-decode http://fvvsi.ch/o/ogn-decode