Skip to contentSkip to conversation

package/neard: enable dbus-org.neard.service

PATCH New James Hilliard 1 participant 1 message Nov 1, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/neard: enable dbus-org.neard.service

This is normally enabled by systemctl preset-all.

---
 package/neard/neard.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/neard/neard.mk +5 -0
index a351469102..48af325ae2 100644
@@ -29,4 +29,9 @@ define NEARD_INSTALL_INIT_SYSV
 		$(TARGET_DIR)/etc/init.d/S53neard
 endef
 
+define NEARD_INSTALL_INIT_SYSTEMD
+	ln -sf ../../../lib/systemd/system/neard.service \
+		$(TARGET_DIR)/etc/systemd/system/dbus-org.neard.service
+endef
+
 $(eval $(autotools-package))
Signature · 1 line
2.20.1