Update update remove rpitx.service, add and update transmit.service

release-3
Alan Johnston 1 year ago committed by GitHub
parent 74ee22429b
commit 4134931e4b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -69,15 +69,26 @@ fi
sudo systemctl disable rpitx sudo systemctl disable rpitx
if [[ $(diff systemd/rpitx.service /etc/systemd/system/rpitx.service) ]]; then FILE=/etc/systemd/system/rpitx.service
echo "changed rpitx.service." if [ -f "$FILE" ]; then
sudo cp /home/pi/CubeSatSim/systemd/rpitx.service /etc/systemd/system/rpitx.service sudo systemctl disable rpitx
FLAG=1 sudo rm /etc/systemd/system/rpitx.service
else
echo "no changes to rpitx.service."
fi fi
sudo systemctl disable rpitx FILE=/etc/systemd/system/transmit.service
if [ -f "$FILE" ]; then
if [[ $(diff systemd/transmit.service /etc/systemd/system/transmit.service) ]]; then
echo "changed transmit.service."
sudo cp /home/pi/CubeSatSim/systemd/transmit.service /etc/systemd/system/transmit.service
FLAG=1
else
echo "no change to transmit.service."
fi
else
echo "creating transmit.service."
sudo cp /home/pi/CubeSatSim/systemd/transmit.service /etc/systemd/system/transmit.service
FLAG=1
fi
FILE=/etc/systemd/system/command.service FILE=/etc/systemd/system/command.service
if [ -f "$FILE" ]; then if [ -f "$FILE" ]; then

Loading…
Cancel
Save

Powered by TurnKey Linux.