Skip to contentSkip to conversation

package/connman: enable connman-wait-online.service

PATCH New James Hilliard 1 participant 1 message Oct 31, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/connman: enable connman-wait-online.service

This is normally enabled by systemctl preset-all.

---
 package/connman/connman.mk | 3 +++
 1 file changed, 3 insertions(+)
package/connman/connman.mk +3 -0
index 839bc7a0e2..f8466bc1cb 100644
@@ -36,6 +36,9 @@ 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
+	mkdir -p $(TARGET_DIR)/etc/systemd/system/network-online.target.wants
+	ln -fs ../../../../usr/lib/systemd/system/connman-wait-online.service \
+		$(TARGET_DIR)/etc/systemd/system/network-online.target.wants/connman-wait-online.service
 endef
 
 ifeq ($(BR2_PACKAGE_CONNMAN_CLIENT),y)
Signature · 1 line
2.20.1