From 3f3d919578a0ac7d44ddd98f71033f0aaeb6f45b Mon Sep 17 00:00:00 2001 From: Kalle Valo Date: Fri, 28 Jan 2011 17:02:49 +0200 Subject: [PATCH 1/1] nmcompat: D-Bus configuration file Add separate dbus configuration file for nmcompat plugin. It will installed only when the plugin is enabled. --- Makefile.am | 10 ++++++++-- plugins/connman-nmcompat.conf | 14 ++++++++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 plugins/connman-nmcompat.conf diff --git a/Makefile.am b/Makefile.am index 67b2c29..144fcc5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -32,9 +32,14 @@ gweb_sources = gweb/gweb.h gweb/gweb.c gweb/gresolv.h gweb/gresolv.c \ gweb/giognutls.h gweb/giognutls.c if DATAFILES + +if NMCOMPAT +nmcompat_conf = plugins/connman-nmcompat.conf +endif + dbusconfdir = @DBUS_CONFDIR@ -dbusconf_DATA = src/connman.conf +dbusconf_DATA = src/connman.conf $(nmcompat_conf) if SYSTEMD systemdunitdir = @SYSTEMD_UNITDIR@ @@ -109,7 +114,8 @@ AM_CFLAGS = @DBUS_CFLAGS@ @GLIB_CFLAGS@ @CAPNG_CFLAGS@ @XTABLES_CFLAGS@ \ INCLUDES = -I$(builddir)/include -I$(builddir)/src -I$(srcdir)/gdbus -EXTRA_DIST = src/genbuiltin src/connman-dbus.conf src/connman-polkit.conf +EXTRA_DIST = src/genbuiltin src/connman-dbus.conf src/connman-polkit.conf \ + plugins/connman-nmcompat.conf script_DATA = diff --git a/plugins/connman-nmcompat.conf b/plugins/connman-nmcompat.conf new file mode 100644 index 0000000..5887a34 --- /dev/null +++ b/plugins/connman-nmcompat.conf @@ -0,0 +1,14 @@ + + + + + + + + + + + + + -- 2.7.4