modified: mycroft/client/wifisetup/main.py

pull/712/head
kfezer@gmail.com 2017-05-03 15:52:29 -07:00
parent 754015f722
commit 1ee3b82766
1 changed files with 3 additions and 1 deletions

View File

@ -569,11 +569,13 @@ class WiFi:
call(RM_SKILLS)
except Exception as e:
LOG.error("Error: {0}".format(e))
def ssh(self, event=None):
LOG.info("Enabling SSH")
try:
call('sudo touch /boot/ssh', shell=True)
except Exception as e:
LOG.error("Error: {0}".format(e))
def main():