Sfoglia il codice sorgente

add vaportrail support

pull/39/head
Luigi Cruz 4 anni fa
parent
commit
3ccd9c0182
1 ha cambiato i file con 16 aggiunte e 0 eliminazioni
  1. +16
    -0
      builder/stage4/30-pisdr-vaportrail/00-run.sh

+ 16
- 0
builder/stage4/30-pisdr-vaportrail/00-run.sh Vedi File

@@ -0,0 +1,16 @@
#!/bin/bash -e

on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"

if [ ! -d "vaportrail" ]; then
mkdir -p vaportrail
fi

cd vaportrail
wget https://github.com/inguardians/VaporTrail/releases/download/0.1.0/vaportrail-rpi2-and-rpi3.tar.gz
tar -xvzf vaportrail-rpi2-and-rpi3.tar.gz
cp vaportrail /usr/bin/
rm *.tar.gz
EOF

Caricamento…
Annulla
Salva