From a42e0dae9a58396cadbc9f4a74fc250dbca1c445 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 20 Jul 2024 18:23:14 -0400 Subject: [PATCH] Update update disable rpitx --- update | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/update b/update index c92b1450..2dede7ad 100755 --- a/update +++ b/update @@ -74,6 +74,8 @@ else echo "no changes to rpitx.service." fi +sudo systemctl disable rpitx + FILE=/etc/systemd/system/command.service if [ -f "$FILE" ]; then if [[ $(diff systemd/command.service /etc/systemd/system/command.service) ]]; then @@ -304,13 +306,13 @@ if [ "$noreboot" = "0" ] ; then echo "systemctl daemon-reload and reboot" sudo systemctl daemon-reload sudo reboot -h now -# sudo systemctl restart cubesatsim +# sudo cubesatsim else grep 'changed' /home/pi/CubeSatSim/.updated if [[ $(grep 'changed' /home/pi/CubeSatSim/.updated) ]]; then echo "reboot due to code changes " | wall sudo reboot -h now -# sudo systemctl restart cubesatsim +# sudo cubesatsim else echo "nothing to do." fi