forgot shutdown command

This commit is contained in:
Sean Corrigan 2020-12-21 13:17:00 -05:00
parent c6457842ce
commit 321ee5c208

View File

@ -28,6 +28,7 @@ def main(shutdownbit = False):
if not bit: # IF BIT IS STILL FALSE if not bit: # IF BIT IS STILL FALSE
if shutdownbit: if shutdownbit:
print("\n\n\nCONNECTIVITY LOST, SHUTTING DOWN\n\n") print("\n\n\nCONNECTIVITY LOST, SHUTTING DOWN\n\n")
os.system("shutdown now")
else: else:
print("\n\nCONNECTIVITY LOST, RUNNING SANITY CHECK") print("\n\nCONNECTIVITY LOST, RUNNING SANITY CHECK")
sleep(5) sleep(5)