|
|
|
|
@ -663,6 +663,12 @@ sudo usermod -a -G gpio pi
|
|
|
|
|
sudo apt-get install default-jdk -y
|
|
|
|
|
|
|
|
|
|
FILE=/home/pi/Desktop/PacsatGround/spacecraft/PacSatSim.commands
|
|
|
|
|
if [ ! -f "$FILE" ]; then
|
|
|
|
|
echo "copying missing commands file to spacecraft"
|
|
|
|
|
cp /home/pi/CubeSatSim/spacecraft/PacSatGround_0.46o/PacSatSim.commands $FILE
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
FILE=/home/pi/Desktop/PacsatGround/PacSatSim.commands
|
|
|
|
|
if [ ! -f "$FILE" ]; then
|
|
|
|
|
echo "copying missing commands file"
|
|
|
|
|
cp /home/pi/CubeSatSim/spacecraft/PacSatGround_0.46o/PacSatSim.commands $FILE
|
|
|
|
|
|