Fix for ubports/ubuntu-touch#444
Created by: UniversalSuperBox
In 16.04, sshd does not start when android-gadget-service enable ssh
is run. This is because the ssh-property-watcher
job exits with
status 1 after trying to get the environment variable
persist.service.ssh
. Instead of getting this from the environment,
we'll use getprop
to get it directly instead.