From af4e6944d63ceec65bcbc3f8905c83fbd9a72e44 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 30 Jul 2023 15:30:29 -0400 Subject: [PATCH] try rpitx restart instead of reboot --- rpitx.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rpitx.py b/rpitx.py index 20e580cc..c7f206da 100644 --- a/rpitx.py +++ b/rpitx.py @@ -409,7 +409,8 @@ if __name__ == "__main__": else: print("Turning of transmit and rebooting") system("echo > command_tx False") - system("sudo reboot now") + system("sudo systemctl restart rpitx") +# system("sudo reboot now") sleep(60) if (command_tx == True): output(txLed, txLedOn) @@ -440,7 +441,8 @@ if __name__ == "__main__": else: print("Turning of transmit and rebooting") system("echo > command_tx False") - system("sudo reboot now") + system("sudo systemctl restart rpitx") +# system("sudo reboot now") sleep(60) if (command_tx == True): output(txLed, txLedOn)