connman: enable systemd service by default

Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Mike Williams 2015-04-21 13:50:38 -04:00 committed by Thomas Petazzoni
parent a510faf846
commit 4aad183802
1 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,11 @@ define CONNMAN_INSTALL_INIT_SYSV
$(INSTALL) -m 0755 -D package/connman/S45connman $(TARGET_DIR)/etc/init.d/S45connman
endef
define CONNMAN_INSTALL_INIT_SYSTEMD
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
ln -fs ../../../../usr/lib/systemd/system/connman.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/connman.service
endef
ifeq ($(BR2_PACKAGE_CONNMAN_CLIENT),y)
CONNMAN_CONF_OPTS += --enable-client