added auto download of .xml

pull/131/head
alanbjohnston 4 years ago committed by GitHub
parent 3d5049178f
commit f2b619488e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,11 +1,19 @@
#!/bin/sh
sudo modprobe snd-aloop
if [ ! -d "/home/pi/CubeSatSim/groundstation/direwolf.conf" ]; then
wget https://raw.githubusercontent.com/alanbjohnston/CubeSatSim/FIAB-v3/groundstation/direwolf.conf -o /home/pi/CubeSatSim/groundstation/direwolf.conf
fi
if [ ! -d "/home/pi/CubeSatSim/groundstation/cubicsdr/cubicsdr-aprs-direwolf.xml" ]; then
wget https://raw.githubusercontent.com/alanbjohnston/CubeSatSim/FIAB-v3/groundstation/cubicsdr/cubicsdr-aprs-direwolf.xml -o /home/pi/CubeSatSim/groundstation/cubicsdr/cubicsdr-aprs-direwolf.xml
fi
sudo killall -9 CubicSDR &>/dev/null
sudo killall -9 direwolf &>/dev/null

Loading…
Cancel
Save

Powered by TurnKey Linux.