-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFA-Install.sh
49 lines (44 loc) · 1.17 KB
/
FA-Install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/bin/bash
# Add flightaware repository
# update and upgrade system
# Install flightaware and dump1090 to Buster Lite
# First add Flightaware repository
echo "First we get the flightaware repository then we add it to the apt system"
wget https://flightaware.com/adsb/piaware/files/packages/pool/piaware/f/flightaware-apt-repository/flightaware-apt-repository_1.1_all.deb
sleep 5s
sudo dpkg -i flightaware-apt-repository_1.1_all.deb
sleep 15s
clear
echo "Now we will update and upgrade the system"
sleep 5s
echo " "
echo "This may take a wee while depending on how recent Pi Organisation updated their image"
sleep 20s
sudo apt-get update -y
sleep 5s
sudo apt-get upgrade -y
sleep 5s
clear
echo "now to install PiAware"
sleep 15s
sudo apt-get install piaware -y
echo " "
echo "PiAware installed"
sleep 15s
clear
echo "Now we install dump1090"
sleep 15s
sudo apt-get install dump1090-fa -y
echo " "
sleep 5s
clear
echo" "
echo " "
echo "All done"
echo " "
echo "To use a previous account manually edit the /etc/piaware.conf file"
echo " "
echo "On the last free line enter feeder-id ********-****-****-****-************"
sleep 1s
echo "You can open another terminal to do this"
# sudo reboot