Update rpitx.py kill rpitx

beta-extra-4
Alan Johnston 1 year ago committed by GitHub
parent af48b5c714
commit b681ec3724
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -763,7 +763,7 @@ if __name__ == "__main__":
# print(txLed)
# print(txLedOn)
sleep(4.2)
elif (mode == 'e'):
elif (mode == 'e'): # code based on https://zr6aic.blogspot.com/2016/11/creating-2m-fm-repeater-with-raspberry.html
print("Repeater")
print("Stopping command and control")
system("sudo systemctl stop command")
@ -791,6 +791,7 @@ if __name__ == "__main__":
output(txLed, txLedOff)
system("sudo killall -9 arecord")
system("sudo killall -9 nc")
system("sudo killall -9 rpitx")
else:
print("FSK")

Loading…
Cancel
Save

Powered by TurnKey Linux.