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)