$(if $(BR2_PACKAGE_LINUX_TOOLS_$(call UPPERCASE,$(tool))),\
$(call UPPERCASE,$(tool))_INSTALL_TARGET_CMDS))
+define LINUX_TOOLS_INSTALL_INIT_SYSTEMD
+ $(foreach tool,$(LINUX_TOOLS),\
+ $(if $(BR2_PACKAGE_LINUX_TOOLS_$(call UPPERCASE,$(tool))),\
+ $($(call UPPERCASE,$(tool))_INSTALL_INIT_SYSTEMD))
+ )
+endef
+
+define LINUX_TOOLS_INSTALL_INIT_SYSV
+ $(foreach tool,$(LINUX_TOOLS),\
+ $(if $(BR2_PACKAGE_LINUX_TOOLS_$(call UPPERCASE,$(tool))),\
+ $($(call UPPERCASE,$(tool))_INSTALL_INIT_SYSV))
+ )
+endef
+
+define LINUX_TOOLS_INSTALL_INIT_OPENRC
+ $(foreach tool,$(LINUX_TOOLS),\
+ $(if $(BR2_PACKAGE_LINUX_TOOLS_$(call UPPERCASE,$(tool))),\
+ $(or $($(call UPPERCASE,$(tool))_INSTALL_INIT_OPENRC),\
+ $($(call UPPERCASE,$(tool))_INSTALL_INIT_SYSV)))
+ )
+endef
+
$(eval $(generic-package))