Skip to content

"load" service doesn't start on device reboot #55

@dschaub

Description

@dschaub

Hi! I used this as a guide for getting a WiFi adapter driver compiled, and it worked great. The only problem is that the "load" service exits successfully when it's run, so when the balenaOS device reboots it doesn't run again, and won't run again until a new release is created.

I solved the problem by adding a sleep infinity to load.sh, and then changing the service's restart to always, to make sure it gets run at least once per device boot. It's not ideal though because any other failure that causes the container to restart will interrupt the WiFi connection by removing and re-adding the driver module, however unlikely that may be.

Is there another option that I'm not seeing to make sure the "load" service always runs once on boot?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions