Fixed shutdown
This commit is contained in:
parent
ed0d28ab1c
commit
5382cc7009
1 changed files with 2 additions and 1 deletions
|
@ -10,7 +10,8 @@ import sys
|
||||||
class WallabyControl(Routing.ClientRoute):
|
class WallabyControl(Routing.ClientRoute):
|
||||||
def run(self, data, handler):
|
def run(self, data, handler):
|
||||||
commands = {"stop" : self.stop, "restart" : self.restart,
|
commands = {"stop" : self.stop, "restart" : self.restart,
|
||||||
"disconnect" : self.disconnect, "reboot" : self.reboot}
|
"disconnect" : self.disconnect, "reboot" : self.reboot,
|
||||||
|
"shutdown" : self.shutdown}
|
||||||
if data in commands:
|
if data in commands:
|
||||||
commands[data](handler)
|
commands[data](handler)
|
||||||
|
|
||||||
|
|
Reference in a new issue