bluez5_utils: start systemd service on boot
Signed-off-by: Mike Williams <mike@mikebwilliams.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
faec6b0001
commit
d732fa48d1
@ -79,4 +79,10 @@ else
|
|||||||
BLUEZ5_UTILS_CONF_OPTS += --disable-systemd
|
BLUEZ5_UTILS_CONF_OPTS += --disable-systemd
|
||||||
endif
|
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))
|
$(eval $(autotools-package))
|
||||||
|
Loading…
Reference in New Issue
Block a user