From adff51da2cd592d1eeca693159eab27f971b4efe Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 21 Aug 2021 15:30:18 -0400 Subject: [PATCH] changed --- groundstation/cubicsdr-aprs.sh | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) 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