Update pacsat.sh on first run, download zip file of spacecraft

master-b-p
Alan Johnston 1 week ago committed by GitHub
parent a26bff8679
commit d93ef609c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -76,10 +76,15 @@ echo
if [ ! -d "/home/pi/PacSatGround" ] ; then if [ ! -d "/home/pi/PacSatGround" ] ; then
mkdir /home/pi/PacSatGround sudo rm -r /home/pi/PacSatGround
cd
sudo rm PacSatGround.zip
wget https://github.com/alanbjohnston/CubeSatSim/raw/refs/heads/master-b-p-s/spacecraft/PacSatGround_0.46o/PacSatGround.zip
unzip PacSatGround.zip -d PacSatGround
sudo rm PacSatGround.zip
echo echo
echo "The first time you run the Ground Station, you will need to put in your callsign, add the Pacsatsim spacecraft then restart the Pacsat Ground Station" echo "The first time you run the Ground Station, you will need to put in your callsign"
sleep 10 sleep 10
@ -87,10 +92,13 @@ fi
if [ ! -d "/home/pi/PacSatGroundLoop" ] ; then if [ ! -d "/home/pi/PacSatGroundLoop" ] ; then
mkdir /home/pi/PacSatGroundLoop sudo rm PacSatGround.zip
wget https://github.com/alanbjohnston/CubeSatSim/raw/refs/heads/master-b-p-s/spacecraft/PacSatGround_0.46o/PacSatGround.zip
unzip PacSatGround.zip -d PacSatGroundLoop
sudo rm PacSatGround.zip
echo echo
echo "The first time you run the Ground Station, you will need to put in your callsign, add the Pacsatsim spacecraft then restart the Pacsat Ground Station" echo "The first time you run the Ground Station, you will need to put in your callsign"
sleep 10 sleep 10

Loading…
Cancel
Save

Powered by TurnKey Linux.