From: Simon Fels <simon.fels@canonical.com>
To: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] core: add startup option to provide different configuration file
Date: Thu, 17 Sep 2015 07:08:32 +0200 [thread overview]
Message-ID: <55FA4AD0.50401@canonical.com> (raw)
In-Reply-To: <1442382751-25315-1-git-send-email-simon.fels@canonical.com>
On 16.09.2015 07:52, Simon Fels wrote:
> In some cases it's needed to select a different configuration file
> at runtime than the one we load by default from a statically
> configured path. This adds an optional argument to the daemon
> startup which will enable us to load another a configuration file
> from a different path.
> ---
> src/main.c | 11 ++++++++++-
> 1 file changed, 10 insertions(+), 1 deletion(-)
For a better understanding, our use case for this is the following:
On Ubuntu we create set of packages out of the BlueZ source which are
used across all devices we support. We don't want to put any device
specifics in these and use the same binaries (per architecture) on
different device types (laptops, phones, ...). By default we ship the
main.conf file coming with the BlueZ sources. For different device types
we now need different settings as we need to specify different settings
for class of device field for example. At the moment there is an
additional package only used for phones which ships a modified
configuration file which can't replace the one provided by the bluez
package and is then passed to bluetoothd in an .override upstart job.
regards,
Simon
next prev parent reply other threads:[~2015-09-17 5:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-16 5:52 [PATCH] core: add startup option to provide different configuration file Simon Fels
2015-09-17 5:08 ` Simon Fels [this message]
2015-09-17 6:53 ` Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55FA4AD0.50401@canonical.com \
--to=simon.fels@canonical.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.