From 00fff29dc664577348bc6386327a547cc8fc6308 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Wed, 8 Jan 2025 07:20:30 -0500 Subject: [PATCH] Update config change callsign in Pacsat Ground Station --- config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config b/config index 3764aa86..a38e55a9 100755 --- a/config +++ b/config @@ -553,6 +553,8 @@ elif [ "$1" = "-c" ]; then echo $callsign $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} > /home/pi/CubeSatSim/sim.cfg sudo sed -i 's/$oldcallsign/$callsign/g' /home/pi/pi_pacsat/Debug/pacsat.config > /dev/null 2>&1 + sudo sed -i "s/callsign=$oldcallsign/callsign=$callsign/g' /home/pi/PacSatGround/PacSatGround.properties' + sudo sed -i "s/$oldcallsign/$callsign/g' /home/pi/PacSatGround/spacecraft/PacSatSim.properties' fi if [ "$norestart" = "1" ]; then