From d7a7bfd60035ed80f984dfcefac9b4021bd29d03 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 28 Jun 2008 11:06:04 +0200 Subject: [PATCH] Disable setup of RTNL, interfaces and networks --- plugins/Makefile.am | 5 +++-- src/main.c | 12 ------------ 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 88936e7..7f01896 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -1,8 +1,9 @@ plugindir = $(libdir)/connman/plugins -plugin_LTLIBRARIES = hal.la ethernet.la bluetooth.la dhclient.la ipv4.la \ - 80203.la 80211.la resolvconf.la +plugin_LTLIBRARIES = hal.la ethernet.la bluetooth.la dhclient.la ipv4.la + +noinst_LTLIBRARIES = 80203.la 80211.la resolvconf.la hal_la_SOURCES = hal.c hal_la_LIBADD = @HAL_LIBS@ diff --git a/src/main.c b/src/main.c index da9ba45..92a97f2 100644 --- a/src/main.c +++ b/src/main.c @@ -135,12 +135,6 @@ int main(int argc, char *argv[]) __connman_plugin_init(); - __connman_rtnl_init(); - - __connman_network_init(conn); - - __connman_iface_init(conn, option_interface); - g_free(option_interface); memset(&sa, 0, sizeof(sa)); @@ -150,12 +144,6 @@ int main(int argc, char *argv[]) g_main_loop_run(main_loop); - __connman_iface_cleanup(); - - __connman_network_cleanup(); - - __connman_rtnl_cleanup(); - __connman_plugin_cleanup(); __connman_manager_cleanup(); -- 2.7.4