Disable the container's network daemons to avoid conflicts
because they use the same network namespace.
Change-Id: I0e19fc7df608df39f5936f3082858f6f16415f3d
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
#if defined TIZEN_EXT
#define DEFAULT_WIFI_INTERFACE "wlan0"
+#define CONTAINER_FILE "/run/systemd/container"
#endif
#define MAINFILE "main.conf"
signal = setup_signalfd();
+#if defined TIZEN_EXT
+ if (access(CONTAINER_FILE, F_OK) == 0) {
+ g_main_loop_run(main_loop);
+
+ g_source_remove(signal);
+ return 0;
+ }
+#endif
+
dbus_error_init(&err);
conn = g_dbus_setup_bus(DBUS_BUS_SYSTEM, CONNMAN_SERVICE, &err);