summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/bluez5_utils/bluez5_utils.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/bluez5_utils/bluez5_utils.mk b/package/bluez5_utils/bluez5_utils.mk
index 0a7673827a..659f05d58c 100644
--- a/package/bluez5_utils/bluez5_utils.mk
+++ b/package/bluez5_utils/bluez5_utils.mk
@@ -79,4 +79,10 @@ else
BLUEZ5_UTILS_CONF_OPTS += --disable-systemd
endif
+define BLUEZ5_UTILS_INSTALL_INIT_SYSTEMD
+ mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/
+ ln -fs ../../../../usr/lib/systemd/system/bluetooth.service \
+ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/bluetooth.service
+endef
+
$(eval $(autotools-package))
OpenPOWER on IntegriCloud