瀏覽代碼

ISS: install pd120 decoder

tags/v1.7
Nico Rey 3 年之前
父節點
當前提交
d01abf4a03
共有 1 個文件被更改,包括 15 次插入0 次删除
  1. +15
    -0
      install.sh

+ 15
- 0
install.sh 查看文件

@@ -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…
取消
儲存