Pārlūkot izejas kodu

ISS: install pd120 decoder

tags/v1.7
Nico Rey pirms 3 gadiem
vecāks
revīzija
d01abf4a03
1 mainītis faili ar 15 papildinājumiem un 0 dzēšanām
  1. +15
    -0
      install.sh

+ 15
- 0
install.sh Parādīt failu

@@ -211,6 +211,21 @@ sudo mount -a
sudo chmod 777 /var/ramfs
set -e

if [ -f "$HOME/raspberry-noaa/demod.py" ]; then
log_done "pd120_decoder already installed"
else
wget -qr https://github.com/reynico/pd120_decoder/archive/master.zip -O /tmp/master.zip
(
cd /tmp
unzip master.zip
cd pd120_decoder-master/pd120_decoder/
pip3 install --user -r requirements.txt
cp "{demod.py,utils.py}" "$HOME/raspberry-noaa/"
)
log_done "pd120_decoder installed"
fi


success "Install (almost) done!"

read -rp "Do you want to enable bias-tee? (y/N)"


Notiek ielāde…
Atcelt
Saglabāt