This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |