diff --git a/groundstation/pacsat.sh b/groundstation/pacsat.sh index 96fbef3b..5a2c7247 100755 --- a/groundstation/pacsat.sh +++ b/groundstation/pacsat.sh @@ -28,7 +28,7 @@ callsign="$1" oldcallsign=$(grep -oP '(?<=callsign=).*(?=-)' /home/pi/PacSatGround/PacSatGround.properties) -if [ ! "$callsign" = "$oldcallsign" ] +if [ ! "$callsign" = "$oldcallsign" ] ; then sudo sed -i "s/callsign=$oldcallsign/callsign=$callsign/g" /home/pi/PacSatGround/PacSatGround.properties