diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-05-08 17:24:48 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-05-08 17:24:48 +0000 |
commit | 2af3c3a7ddc43577c067892cdfdc06dc4e63386c (patch) | |
tree | 6ed975fdc985e2d4c55e97f58b2d7ef124485b98 /serial | |
parent | e3dede624b3f622fdb176b140e057f98cf26ca2b (diff) |
Remove service daemon activation handling
Diffstat (limited to 'serial')
-rw-r--r-- | serial/main.c | 5 |
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); |