made bus config global and moved to system bus
diff --git a/objects/fan_generic_obj.c b/objects/fan_generic_obj.c
index 990a5e9..afe3318 100644
--- a/objects/fan_generic_obj.c
+++ b/objects/fan_generic_obj.c
@@ -114,7 +114,7 @@
   guint id;

   loop = g_main_loop_new (NULL, FALSE);

 

-  id = g_bus_own_name (G_BUS_TYPE_SESSION,

+  id = g_bus_own_name (DBUS_TYPE,

                        dbus_name,

                        G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT |

                        G_BUS_NAME_OWNER_FLAGS_REPLACE,