From 88ed76d9dfde98c72368471b286da8a10f70d93a Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Tue, 3 Mar 2026 11:58:44 -0500 Subject: [PATCH] Update pacsat-config.sh add Loopback config reset --- groundstation/pacsat-config.sh | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/groundstation/pacsat-config.sh b/groundstation/pacsat-config.sh index 85d02f91..c3f9a00c 100755 --- a/groundstation/pacsat-config.sh +++ b/groundstation/pacsat-config.sh @@ -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