forgot shutdown command
This commit is contained in:
parent
c6457842ce
commit
321ee5c208
1
main.py
1
main.py
@ -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)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user