Ver a proveniência

add vaportrail support

pull/39/head
Luigi Cruz há 4 anos
ascendente
cometimento
3ccd9c0182
1 ficheiros alterados com 16 adições e 0 eliminações
  1. +16
    -0
      builder/stage4/30-pisdr-vaportrail/00-run.sh

+ 16
- 0
builder/stage4/30-pisdr-vaportrail/00-run.sh Ver ficheiro

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

Carregando…
Cancelar
Guardar