Hopefully fixed reboot
This commit is contained in:
parent
6bc587c575
commit
2bcbbaafd2
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ class WallabyControl(Routing.ClientRoute):
|
||||||
|
|
||||||
def reboot(self, handler):
|
def reboot(self, handler):
|
||||||
os.system("reboot")
|
os.system("reboot")
|
||||||
|
exit(0)
|
||||||
|
|
||||||
def disconnect(self, handler):
|
def disconnect(self, handler):
|
||||||
handler.sock.close()
|
handler.sock.close()
|
||||||
|
|
Reference in a new issue