added flight.service

bp-new
alanbjohnston 4 years ago committed by GitHub
parent c7cc7e2882
commit 1bdf8be7bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -54,6 +54,16 @@ else
echo "no changes to camera.service." echo "no changes to camera.service."
fi fi
if [[ $(diff systemd/flight.service /etc/systemd/system/flight.service) ]]; then
echo "changed flight.service."
sudo cp /home/pi/CubeSatSim/systemd/flight.service /etc/systemd/system/flight.service
sudo systemctl daemon-reload
echo "systemctl restart flight"
# sudo systemctl restart camera
else
echo "no changes to flight.service."
fi
FILE=/home/pi/CubeSatSim/sstv_image_1_320_x_256.jpg FILE=/home/pi/CubeSatSim/sstv_image_1_320_x_256.jpg
if [ ! -f "$FILE" ]; then if [ ! -f "$FILE" ]; then
echo "Copying SSTV image 1." echo "Copying SSTV image 1."

Loading…
Cancel
Save

Powered by TurnKey Linux.