Hi,

On Fri, 2014-11-21 at 09:30 -0500, Ernast Sevo wrote:
> Hello,
> 
>  I am attempting to figure out if it is possible to disable
> wifi/bluetooth/cellular through connman on startup so when system boots
> those technologies will not be powered until they are explicitly turned on
> by user. I can achieve this by disabling the technologies in
> /var/lib/connman/settings however connman updates this once technologies
> are enabled and if the system shuts down with these technologies enabled it
> will boot with them enabled as well. Is there a way in connman to ensure
> that on boot certain technologies remain disabled regardless of the state
> they were in prior to shutdown?

Writing values directly to the settings file will always most certainly
always fail. Turn off technologies via the D-Bus API or connmanctl;
after that ConnMan will remember the technology state on next startup. 

If you want the technologies to be always powered off the next time
ConnMan starts, you have to add a call to e.g. 'connmanctl disable
<technology>' in the shutdown part of your init script or similar.

Cheers,

        Patrik

_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to