From 4aad18380255f7b8b4442323fa294d2a2107175d Mon Sep 17 00:00:00 2001 From: Mike Williams Date: Tue, 21 Apr 2015 13:50:38 -0400 Subject: [PATCH] connman: enable systemd service by default Signed-off-by: Mike Williams Signed-off-by: Thomas Petazzoni --- package/connman/connman.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/connman/connman.mk b/package/connman/connman.mk index 4b553925c0..016eff711b 100644 --- a/package/connman/connman.mk +++ b/package/connman/connman.mk @@ -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 -- 2.30.2