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,16 +69,27 @@ 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
sudo rm /etc/systemd/system/rpitx.service
fi
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 FLAG=1
else
echo "no change to transmit.service."
fi
else else
echo "no changes to rpitx.service." echo "creating transmit.service."
sudo cp /home/pi/CubeSatSim/systemd/transmit.service /etc/systemd/system/transmit.service
FLAG=1
fi fi
sudo systemctl disable rpitx
FILE=/etc/systemd/system/command.service FILE=/etc/systemd/system/command.service
if [ -f "$FILE" ]; then if [ -f "$FILE" ]; then
if [[ $(diff systemd/command.service /etc/systemd/system/command.service) ]]; then if [[ $(diff systemd/command.service /etc/systemd/system/command.service) ]]; then

Loading…
Cancel
Save

Powered by TurnKey Linux.