Browse Source

ISS: install pd120 decoder

tags/v1.7
Nico Rey 3 years ago
parent
commit
d01abf4a03
1 changed files with 15 additions and 0 deletions
  1. +15
    -0
      install.sh

+ 15
- 0
install.sh View File

@@ -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)"


Loading…
Cancel
Save