Update install.sh

pull/109/head
alanbjohnston 5 years ago committed by GitHub
parent ff66f9aa31
commit e3e6a36f3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -15,6 +15,7 @@ wget https://project-downloads.drogon.net/wiringpi-latest.deb
sudo dpkg -i wiringpi-latest.deb sudo dpkg -i wiringpi-latest.deb
cd cd
sudo cp /boot/config.txt /boot/config.txt.0 sudo cp /boot/config.txt /boot/config.txt.0
@ -27,9 +28,13 @@ sudo pip3 install --upgrade setuptools
sudo pip3 install adafruit-blinka RPI.GPIO adafruit-extended-bus adafruit-circuitpython-ina219 sudo pip3 install adafruit-blinka RPI.GPIO adafruit-extended-bus adafruit-circuitpython-ina219
cd ~/CubeSatSim cd ~/CubeSatSim
make git pull
make debug
cd cd
@ -41,25 +46,25 @@ make -j
sudo make install sudo make install
echo "You may get an error in this step - don't worry\n"
make install-rpi make install-rpi
cd cd
git clone https://github.com/F5OEO/rpitx.git git clone https://github.com/alanbjohnston/pi-power-button.git
cd rpitx cd pi-power-button
./install.sh ./script/install
cd cd
git clone https://github.com/alanbjohnston/pi-power-button.git git clone https://github.com/F5OEO/rpitx.git
cd pi-power-button cd rpitx
./install.sh
./script/install
sudo cp ~/CubeSatSim/systemd/cubesatsim.service /etc/systemd/system/cubesatsim.service sudo cp ~/CubeSatSim/systemd/cubesatsim.service /etc/systemd/system/cubesatsim.service
@ -69,4 +74,5 @@ sudo cp ~/CubeSatSim/systemd/rpitx.service /etc/systemd/system/rpitx.service
sudo systemctl enable rpitx sudo systemctl enable rpitx
echo "You still need to edit /boot/config.txt and /boot/cmdline.txt then reboot\n"

Loading…
Cancel
Save

Powered by TurnKey Linux.