[PATCH 0/3] Generalize Default Enabled Technologies

Grant Erickson <[email protected]> Mon, 28 Jul 2025 15:32:14 -0700
Newsgroups dev.linux.lists.connman
Message-ID <[email protected]>
Since nearly the beginning of connman, it has behaved such that the
Ethernet technology is enabled (that is, powered) by
default. Currently, this is hard-coded behavior into
src/technology.c:technology_load.

However, if a different or additional technology is desired, there has
historically been no way to achieve this via configuration.

The 'DefaultEnabledTechnologies' key/value pair introduced by this
patch set is a list of technologies that are marked enabled (that is,
powered) by default, separated by commas (","). The default value for
this entry when empty is 'ethernet', matching the legacy behavior prior
to the introduction of this setting.

Grant Erickson (3):
  main: Introduce 'DefaultEnabledTechnologies' setting.
  technology: Leverage 'DefaultEnabledTechnologies' setting.
  doc: Document the 'DefaultEnabledTechnologies' setting.

 doc/connman.conf.5.in |  5 +++++
 src/main.c            | 32 ++++++++++++++++++++++++++++++++
 src/main.conf         |  5 +++++
 src/technology.c      | 25 +++++++++++++++----------
 4 files changed, 57 insertions(+), 10 deletions(-)

-- 
2.45.0