summaryrefslogtreecommitdiffstats
path: root/serial/main.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-05-08 17:24:48 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-05-08 17:24:48 +0000
commit2af3c3a7ddc43577c067892cdfdc06dc4e63386c (patch)
tree6ed975fdc985e2d4c55e97f58b2d7ef124485b98 /serial/main.c
parente3dede624b3f622fdb176b140e057f98cf26ca2b (diff)
Remove service daemon activation handling
Diffstat (limited to 'serial/main.c')
-rw-r--r--serial/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/serial/main.c b/serial/main.c
index 9d094123..0916f760 100644
--- a/serial/main.c
+++ b/serial/main.c
@@ -34,6 +34,7 @@
#include "plugin.h"
#include "dbus.h"
+#include "dbus-service.h"
#include "manager.h"
static DBusConnection *conn;
@@ -49,13 +50,15 @@ static int serial_init(void)
return -EIO;
}
- register_external_service(conn, "serial", "Serial service", "");
+ register_service("serial");
return 0;
}
static void serial_exit(void)
{
+ unregister_service("serial");
+
serial_manager_exit();
dbus_connection_unref(conn);