diff --git a/groundstation/cubicsdr-aprs.sh b/groundstation/cubicsdr-aprs.sh index a74b440a..4b6e7d4a 100755 --- a/groundstation/cubicsdr-aprs.sh +++ b/groundstation/cubicsdr-aprs.sh @@ -2,21 +2,17 @@ sudo modprobe snd-aloop -if [ ! -d "./direwolf.conf" ]; then +#if [ ! -d "./direwolf.conf" ]; then - echo "direwolf.conf already downloaded" - -else +FILE=direwolf.conf +if [ ! -f "$FILE" ]; then wget https://raw.githubusercontent.com/alanbjohnston/CubeSatSim/FIAB-v3/groundstation/direwolf.conf fi -if [ ! -d "./cubicsdr-aprs-direwolf.xml" ]; then - - echo "cubic-aprs-direwolf.conf already downloaded" - -else +FILE=cubicsdr-aprs-direwolf.xml +if [ ! -f "$FILE" ]; then wget https://raw.githubusercontent.com/alanbjohnston/CubeSatSim/FIAB-v3/groundstation/cubicsdr/cubicsdr-aprs-direwolf.xml