added callsign and grid setting

pull/101/head
alanbjohnston 5 years ago committed by GitHub
parent 32c1ae57ff
commit e438c41444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save

Powered by TurnKey Linux.