Update update add pacsatsim.service installation

pacsat-v2.2-tlm
Alan Johnston 2 months ago committed by GitHub
parent e1b916e4de
commit 9302ac01b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -105,6 +105,22 @@ else
FLAG=1
fi
FILE=/etc/systemd/system/pacsatsim.service
if [ -f "$FILE" ]; then
if [[ $(diff systemd/pacsatsim.service /etc/systemd/system/pacsatsim.service) ]]; then
echo "changed command.service."
sudo cp /home/pi/CubeSatSim/systemd/pacsatsim.service /etc/systemd/system/pacsatsim.service
FLAG=1
else
echo "no change to pacsatsim.service."
fi
else
echo "creating pacsatsim.service."
sudo cp /home/pi/CubeSatSim/systemd/pacsatsim.service /etc/systemd/system/pacsatsim.service
sudo systemctl enable pacsatsim
FLAG=1
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.