torizon / meta-toradex-torizon

Torizon OS OpenEmbedded Distro Layer
MIT License
6 stars 10 forks source link

auto-provisioning: add service restart for remote access (RAC) #7

Closed EdTheBearded closed 5 months ago

EdTheBearded commented 5 months ago

If we pre-enable RAC and set the image to auto-provision itself, it could be that remote-access.service fails to start due to the fact that the device wasn't provisioned when it checked.

This way, after the device is auto provisioned, it checks if RAC is enabled and if so restarts the service.