increases boot delay on reboot after ssh and reset

modified:   mycroft/client/enclosure/__init__.py
pull/754/head
kfezer@gmail.com 2017-05-05 13:25:00 -07:00 committed by Augusto Monteiro 'Sparky
parent 95a235dd6e
commit 570687d04a
1 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,7 @@ class EnclosureReader(Thread):
self.ws.emit(Message("mycroft.wifi.reset"))
self.ws.emit(Message("speak", {
'utterance': "This unit has been reset"}))
time.sleep(4)
time.sleep(5)
self.ws.emit(Message("enclosure.mouth.reset"))
subprocess.call('systemctl reboot -i', shell=True)
@ -148,7 +148,7 @@ class EnclosureReader(Thread):
self.ws.emit(Message("mycroft.enable.ssh"))
self.ws.emit(Message("speak", {
'utterance': "SSH will be enabled on next boot"}))
time.sleep(4)
time.sleep(5)
subprocess.call('systemctl reboot -i', shell=True)
if "mycroft.mark1.demo" in data: