This commit is contained in:
2024-05-10 09:47:39 -04:00
parent 3b3c2bf206
commit b70e9ddb58
17 changed files with 296 additions and 0 deletions

10
reboot.py Normal file
View File

@@ -0,0 +1,10 @@
import socket
import os
s = socket.socket (socket.AF_INET, socket.SOCK_STREAM)
s.connect (('localhost', 9999))
s.send (b'Q')
s.close
print("REBOOTING")
os.system("shutdown -t 0 -r -f")