put .profile in FoxTelemetryData

pull/128/head
alanbjohnston 5 years ago committed by GitHub
parent e89285f9ac
commit c9727229ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -22,7 +22,7 @@ if [ ! -f "$FILE" ]; then
if [ "$ANS" = "1" ]; then
echo "You have chosen the Fox-in-a-Box profile."
echo "b" > /home/pi/.profile
echo "b" > /home/pi/FoxTelemetryData/.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"
@ -53,7 +53,7 @@ if [ ! -f "$FILE" ]; then
elif [ "$ANS" = "2" ]; then
echo "You have chosen the CubeSatSim Ground Station profile."
echo "c" > /home/pi/.profile
echo "c" > /home/pi/FoxTelemetryData/.profile
else
@ -63,7 +63,7 @@ if [ ! -f "$FILE" ]; then
fi
value=`cat /home/pi/.profile`
value=`cat /home/pi/FoxTelemetryData/.profile`
echo "$value" > /dev/null
set -- $value

Loading…
Cancel
Save

Powered by TurnKey Linux.