summaryrefslogtreecommitdiffstats
path: root/rules/dnsmasq.make
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2006-11-12 10:22:03 +0000
committerJuergen Beisert <j.beisert@pengutronix.de>2006-11-12 10:22:03 +0000
commiteac79cc63e6fe68e7e2e87cb6b33ae88388d20c0 (patch)
tree32e60372e8b5fb16a02d804a50b58722c7b984ee /rules/dnsmasq.make
parent5939567b45e979b76743a2862f48c9b63bff93ae (diff)
downloadptxdist-eac79cc63e6fe68e7e2e87cb6b33ae88388d20c0.tar.gz
ptxdist-eac79cc63e6fe68e7e2e87cb6b33ae88388d20c0.tar.xz
move endif directive to create link only on demand
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6307 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/dnsmasq.make')
-rw-r--r--rules/dnsmasq.make6
1 files changed, 3 insertions, 3 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, \