summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules/dnsmasq.make6
-rw-r--r--rules/fam.make1
-rw-r--r--rules/portmap.make4
3 files changed, 7 insertions, 4 deletions
diff --git a/rules/dnsmasq.make b/rules/dnsmasq.make
index 7227d3a0d..0b3b77688 100644
--- a/rules/dnsmasq.make
+++ b/rules/dnsmasq.make
@@ -122,10 +122,9 @@ $(STATEDIR)/dnsmasq.targetinstall: $(dnsmasq_targetinstall_deps_default)
@$(call install_copy, dnsmasq, 0, 0, 0755, \
$(DNSMASQ_DIR)/src/dnsmasq, \
/sbin/dnsmasq)
-#
-# Install the startup script on request only
-#
+ifdef PTXCONF_DNSMASQ_STARTUP_TYPE_STANDALONE
+# provide everything for standalone mode
ifdef PTXCONF_ROOTFS_ETC_INITD_DNSMASQ_DEFAULT
# install the generic one
@$(call install_copy, dnsmasq, 0, 0, 0755, \
@@ -147,6 +146,7 @@ ifneq ($(PTXCONF_ROOTFS_ETC_INITD_DNSMASQ_LINK),"")
@$(call install_link, dnsmasq, ../init.d/dnsmasq, \
/etc/rc.d/$(PTXCONF_ROOTFS_ETC_INITD_DNSMASQ_LINK))
endif
+endif
ifdef PTXCONF_DNSMASQ_ETC_DEFAULT
@$(call install_copy, dnsmasq, 0, 0, 0644, \
diff --git a/rules/fam.make b/rules/fam.make
index 15dbe6bfc..97856b84d 100644
--- a/rules/fam.make
+++ b/rules/fam.make
@@ -131,6 +131,7 @@ ifdef PTXCONF_FAM_LIBRARY
endif
ifdef PTXCONF_FAM_STARTUP_TYPE_STANDALONE
+# provide everything for standalone mode
ifdef PTXCONF_ROOTFS_ETC_INITD_FAM_DEFAULT
# install the generic one
@$(call install_copy, fam, 0, 0, 0755, \
diff --git a/rules/portmap.make b/rules/portmap.make
index 8f6335d9c..655e6f495 100644
--- a/rules/portmap.make
+++ b/rules/portmap.make
@@ -119,6 +119,8 @@ ifdef PTXCONF_PORTMAP_INSTALL_PORTMAPPER
/sbin/portmap)
endif
+ifdef PTXCONF_PORTMAP_STARTUP_TYPE_STANDALONE
+# provide everything for standalone mode
ifdef PTXCONF_ROOTFS_ETC_INITD_PORTMAP_DEFAULT
# install the generic one
@$(call install_copy, portmap, 0, 0, 0755, \
@@ -139,7 +141,7 @@ ifneq ($(PTXCONF_ROOTFS_ETC_INITD_PORTMAP_LINK),"")
@$(call install_link, portmap, ../init.d/portmapd, \
/etc/rc.d/$(PTXCONF_ROOTFS_ETC_INITD_PORTMAP_LINK))
endif
-
+endif
@$(call install_finish, portmap)
@$(call touch, $@)