From e438c41444dd33778a6ce70460fca8c235c9018b Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Mon, 14 Jun 2021 08:27:23 -0400 Subject: [PATCH] added callsign and grid setting --- groundstation/fox-startup.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/groundstation/fox-startup.sh b/groundstation/fox-startup.sh index 61421dda..ae2234e8 100755 --- a/groundstation/fox-startup.sh +++ b/groundstation/fox-startup.sh @@ -23,6 +23,16 @@ if [ ! -f "$FILE" ]; then echo "You have chosen the Fox-in-a-Box profile." echo "b" > /home/pi/CubeSatSim/groundstation/.profile + echo + + echo "Enter your CALLSIGN. If you don't have a callsign, enter a text string that will be displayed on the FoxTelem leader board at https://amsat.org/tlm" + read callsign + sudo sed -i 's/callsign=NONE/callsign=$callsign/g' /home/pi/Documents/FITB/FoxTelem.properties + + echo "Enter your Maidenhead grid square. It is two letters followed by two numbers followed by two letters with no spaces. If you don't know your gridsquare, you can look it up here https://dxcluster.ha8tks.hu/hamgeocoding/" + read grid + sudo sed -i 's/maidenhead=XX00xx/maidenhead=$grid/g' /home/pi/Documents/FITB/FoxTelem.properties + elif [ "$ANS" = "2" ]; then