static void sig_term(int sig)
{
+ connman_info("Terminating");
+
g_main_loop_quit(main_loop);
}
static void disconnect_callback(DBusConnection *conn, void *user_data)
{
- DBG("D-Bus disconnect");
+ connman_error("D-Bus disconnect");
g_main_loop_quit(main_loop);
}
{
if (g_strcmp0(key, "wifi") == 0) {
if (option_wifi == NULL)
- return "wext,nl80211";
+ return "wext";
else
return option_wifi;
}
g_main_loop_unref(main_loop);
- rmdir(STORAGEDIR);
-
- rmdir(STATEDIR);
-
return 0;
}