Hi Grant,

> This patch adds support for specifying a main configuration file
> different from the default value of /etc/connman/main.conf. This
> is valuable during debug to specify alternate debug-only
> configurations.
> ---
>  Makefile.am |    3 ++-
>  src/main.c  |   23 ++++++++++++++++++-----
>  2 files changed, 20 insertions(+), 6 deletions(-)
> 
> diff --git a/Makefile.am b/Makefile.am
> index ca0cf0b..ce505b6 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -119,7 +119,8 @@ AM_CFLAGS = @DBUS_CFLAGS@ @GLIB_CFLAGS@ @XTABLES_CFLAGS@ \
>                               -DPLUGINDIR=\""$(build_plugindir)"\" \
>                               -DSCRIPTDIR=\""$(build_scriptdir)"\" \
>                               -DSTORAGEDIR=\""$(storagedir)\"" \
> -                             -DCONFIGDIR=\""$(configdir)\""
> +                             -DCONFIGDIR=\""$(configdir)\"" \
> +                             -DCONFIGMAINFILE=\""$(configdir)/main.conf"\"

I rather not provide that on the compiler command line. Use CONFIGDIR if
you need to print it.

Regards

Marcel


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

Reply via email to