modified: mycroft/client/enclosure/__init__.py

pull/754/head
kfezer@gmail.com 2017-04-28 15:21:03 -07:00 committed by Augusto Monteiro 'Sparky
parent d8565bb429
commit 353999b2a9
1 changed files with 1 additions and 1 deletions
mycroft/client/enclosure

View File

@ -142,7 +142,7 @@ class EnclosureReader(Thread):
subprocess.call('systemctl reboot -i', shell=True)
if "unit.enable-ssh" in data:
subprocess.call('sudo touch /ssh', shell=True)
subprocess.call('sudo systemctl enable ssh.socket', shell=True)
self.ws.emit(Message("speak", {
'utterance': "SSH will be enabled on next boot"}))