From 3d5049178ffdc9aca62baeaf902c1586bf9f606d Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 21 Aug 2021 14:52:27 -0400 Subject: [PATCH] added download of direwolf.conf --- groundstation/cubicsdr-aprs.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/groundstation/cubicsdr-aprs.sh b/groundstation/cubicsdr-aprs.sh index 97816a8a..da211bd3 100755 --- a/groundstation/cubicsdr-aprs.sh +++ b/groundstation/cubicsdr-aprs.sh @@ -1,5 +1,11 @@ #!/bin/sh +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 + sudo killall -9 CubicSDR &>/dev/null sudo killall -9 direwolf &>/dev/null