Update pacsat-config.sh add Loopback config reset

pacsat-v2.2-tlm3
Alan Johnston 4 weeks ago committed by GitHub
parent 646ab6cbc3
commit 88ed76d9df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -27,9 +27,11 @@ sudo killall -9 direwolf &>/dev/null
echo
echo "3. Set Frequencies"
echo
echo "4. Reset PacSat Ground Station"
echo
echo "5. Reset PacSat Satellite"
echo "4. Reset PacSat Ground Station Configuration"
echo
echo "5. Reset PacSat Ground Station Loopback Configuration"
echo
echo "6. Reset PacSat Satellite"
echo
echo "Which do you choose? Enter 1 - 5"
@ -92,16 +94,23 @@ sudo killall -9 direwolf &>/dev/null
elif [ "$ANS" = "4" ] ; then
echo "You have chosen to reset the PacSat Ground Station"
echo "You have chosen to reset the PacSat Ground Station Configuration"
echo
echo "Next time you run the Ground Station you will need to Add the PacSatSim spacecraft"
echo
# /home/pi/CubeSatSim/groundstation/pacsat-reset.sh
/home/pi/CubeSatSim/config -K n
sudo rm -r /home/pi/PacSatGround
elif [ "$ANS" = "5" ] ; then
echo "You have chosen to reset the PacSat Ground Station Loopback Configuration"
echo
echo "Next time you run the Ground Station you will need to Add the PacSatSim spacecraft"
echo
sudo rm -r /home/pi/PacSatGroundLoop
elif [ "$ANS" = "5" ] ; then
elif [ "$ANS" = "6" ] ; then
echo "You have chosen to reset the PacSat Satellite"
echo

Loading…
Cancel
Save

Powered by TurnKey Linux.