From f02470d6a006e1f20d801a20436e582309b3181f Mon Sep 17 00:00:00 2001 From: "kfezer@gmail.com" Date: Mon, 1 May 2017 15:36:54 -0700 Subject: [PATCH] modified: mycroft/client/enclosure/__init__.py --- mycroft/client/enclosure/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mycroft/client/enclosure/__init__.py b/mycroft/client/enclosure/__init__.py index e071bcca45..9a83357006 100644 --- a/mycroft/client/enclosure/__init__.py +++ b/mycroft/client/enclosure/__init__.py @@ -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"}))