modified: mycroft/client/enclosure/__init__.py
parent
67cd3058d9
commit
f02470d6a0
|
@ -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"}))
|
||||
|
||||
|
|
Loading…
Reference in New Issue