From b925e13991ba49f4a02bc336dee0f156654b9741 Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Sun, 4 Apr 2021 06:30:38 -0500 Subject: [PATCH] update to support alternate grid lists --- .getardoplist-cron | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.getardoplist-cron b/.getardoplist-cron index b185ca5..ee84704 100755 --- a/.getardoplist-cron +++ b/.getardoplist-cron @@ -30,6 +30,9 @@ echo "Distances/Bearings will not be accurate" exit fi +GRID=$(grep locator ~/.wl2k/config.json | sed 's/"locator"://;s/"//g;s/,//;s/ //g') +echo "GRID=$GRID" > $HOME/patmenu2/.grid + #make directory if it doesn't exist mkdir -p $MYPATH @@ -41,6 +44,7 @@ TWENTY=$MYPATH'20mardoplist.txt' THIRTY=$MYPATH'30mardoplist.txt' PACKET=$MYPATH'packet.txt' + #check internet connection echo "Please wait while we check your internet connection" echo "This may take up to a minute"