|
|
|
@ -128,9 +128,16 @@ else
|
|
|
|
unzip PacSatGround.zip -d PacSatGround
|
|
|
|
unzip PacSatGround.zip -d PacSatGround
|
|
|
|
sudo rm PacSatGround.zip
|
|
|
|
sudo rm PacSatGround.zip
|
|
|
|
|
|
|
|
|
|
|
|
echo
|
|
|
|
FILE=/home/pi/Desktop/PacsatGround/spacecraft/PacSatSim.properties
|
|
|
|
echo "The first time you run the Ground Station, you will need to select Yes to override files, then put in your callsign"
|
|
|
|
if [ -f "$FILE" ]; then
|
|
|
|
sleep 10
|
|
|
|
FILE2=/home/pi/PacSatGround/spacecraft/PacSatSim.properties
|
|
|
|
|
|
|
|
sudo rm $FILE2
|
|
|
|
|
|
|
|
cp $FILE $FILE2
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
echo
|
|
|
|
|
|
|
|
echo "The first time you run the Ground Station, you will need to select Yes to override files, then put in your callsign"
|
|
|
|
|
|
|
|
sleep 10
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|