Update pacsat-config.sh change old callsign too

master-b-p-s
Alan Johnston 2 weeks ago committed by GitHub
parent 3ac84675d2
commit 7e94f40ea9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -113,9 +113,9 @@ sudo killall -9 direwolf &>/dev/null
echo
if [ "$ANS" = "1" ] ; then
oldcallsign=$(grep -oP '(?<=bbsCallsign=).*(?=-)' /home/pi/PacSatGround/spacecraft/PacSatSim.properties)
oldcallsign=$(grep -oP '(?<=bbsCallsign=).*(?=-)' /home/pi/Desktop/PacsatGround/spacecraft/PacSatSim.properties )
else
oldcallsign=$(grep -oP '(?<=bbsCallsign=).*(?=-)' /home/pi/PacSatGroundLoop/spacecraft/PacSatSim.properties)
oldcallsign=$(grep -oP '(?<=bbsCallsign=).*(?=-)' /home/pi/Desktop/PacsatGround/spacecraft/PacSatSim.properties )
fi
echo "Current value of remote PacSat callsign is"
echo $oldcallsign

Loading…
Cancel
Save

Powered by TurnKey Linux.