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:
parent
a510faf846
commit
4aad183802
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue