Update squelch_cc.py announce mode change with wall

master-ff
Alan Johnston 6 months ago committed by GitHub
parent 2c9d4d71f1
commit d1c583c4ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -114,6 +114,7 @@ def increment_mode():
system("/home/pi/CubeSatSim/config -" + mode) system("/home/pi/CubeSatSim/config -" + mode)
print("Changing mode now") print("Changing mode now")
os.system("echo 'changing mode due to C2C!' | wall")
# file = open("/home/pi/CubeSatSim/.mode", "w") # file = open("/home/pi/CubeSatSim/.mode", "w")

Loading…
Cancel
Save

Powered by TurnKey Linux.