modified: mycroft/client/enclosure/__init__.py

pull/754/head
kfezer@gmail.com 2017-05-01 15:36:54 -07:00 committed by Augusto Monteiro 'Sparky
parent 67cd3058d9
commit f02470d6a0
1 changed files with 1 additions and 1 deletions

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 systemctl enable ssh.socket', shell=True)
subprocess.call('sudo touch /boot/ssh', shell=True)
self.ws.emit(Message("speak", {
'utterance': "SSH will be enabled on next boot"}))