summaryrefslogtreecommitdiffstats
path: root/hcid/main.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-01-16 17:01:31 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-01-16 17:01:31 +0000
commita9cf92a289a833ed3785ccbaae306cbbcd8af7bc (patch)
treea6605b614d50f3824666e257e5a6f192a0a0c2ce /hcid/main.c
parent18a13b29f55177bf663c69a651b7b54ed80b2b6b (diff)
Support for adding and removing .service files in /etc/bluetooth
Diffstat (limited to 'hcid/main.c')
-rw-r--r--hcid/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hcid/main.c b/hcid/main.c
index c7461c03..5da2216b 100644
--- a/hcid/main.c
+++ b/hcid/main.c
@@ -43,6 +43,7 @@
#include <bluetooth/hci_lib.h>
#include "glib-ectomy.h"
+#include "notify.h"
#include "hcid.h"
#include "sdpd.h"
@@ -757,6 +758,8 @@ int main(int argc, char *argv[])
if (sdp)
start_sdp_server(0, SDP_SERVER_COMPAT);
+ notify_init();
+
init_services(CONFIGDIR);
/* Start event processor */
@@ -769,6 +772,8 @@ int main(int argc, char *argv[])
hcid_dbus_exit();
+ notify_close();
+
cleanup_sdp_session();
g_main_loop_unref(event_loop);