+#ifndef GATT_NO_RELAY
+ _bt_init_gatt_client_senders();
+#endif
+
+ is_initialized = TRUE;
+
+ return BLUETOOTH_ERROR_NONE;
+}
+
+int main(void)
+{
+ struct sigaction sa;
+ BT_INFO_C("### Starting the bt-service daemon");
+
+ memset(&sa, 0, sizeof(sa));
+ sa.sa_sigaction = __bt_sigterm_handler;
+ sa.sa_flags = SA_SIGINFO;
+ sigaction(SIGINT, &sa, NULL);
+ sigaction(SIGTERM, &sa, NULL);
+
+ if (_bt_service_initialize() != BLUETOOTH_ERROR_NONE)
+ return 0;
+