pull/87/head
alanbjohnston 5 years ago committed by GitHub
parent 668b4a8e58
commit 97c0976195
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -91,9 +91,6 @@ elif [ "$1" = "-m" ]; then
echo "Editing the Simulated Telemetry setting in"
echo "the configuration file for CubeSatSim"
echo
echo "Return keeps current value."
# echo -e "Current sim.cfg configuration file:"
# echo
value=`cat /home/pi/CubeSatSim/sim.cfg`
echo "$value" > /dev/null
@ -111,17 +108,19 @@ elif [ "$1" = "-m" ]; then
echo "Do you want Simulated Telemetry ON (y/n) "
read sim
echo
if [ "$sim" = "y" ] ; then
$sim = "yes"
sim="yes"
echo "Simulated Telemetry is ON"
else
$sim = "no"
sim="no"
echo "Simulated Telemetry is OFF"
fi
echo
echo -e "\nCubeSatSim configuraation sim.cfg file updated to: \n"
echo
echo $callsign $2 $3 $4 $sim
echo $callsign $2 $3 $4 $sim > /home/pi/CubeSatSim/sim.cfg
echo

Loading…
Cancel
Save

Powered by TurnKey Linux.