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