added camera service

bp-new
alanbjohnston 5 years ago committed by GitHub
parent 16f2b68153
commit 6f901aa5b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save

Powered by TurnKey Linux.