summaryrefslogtreecommitdiffstats
path: root/rules/dnsmasq.make
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-03-03 17:07:30 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-03-03 17:07:30 +0000
commit5b84648f6608ed191b1dd83f14fdd1b41f184309 (patch)
treecb0d7c198730a70c236225def902ffca26e2f138 /rules/dnsmasq.make
parentf7659ea354ee55a6e51afc0190251dbd5c1d0252 (diff)
downloadptxdist-5b84648f6608ed191b1dd83f14fdd1b41f184309.tar.gz
ptxdist-5b84648f6608ed191b1dd83f14fdd1b41f184309.tar.xz
[dnsmasq] fix stand alone vs. inetd
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9927 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/dnsmasq.make')
-rw-r--r--rules/dnsmasq.make4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/dnsmasq.make b/rules/dnsmasq.make
index cb386d28c..1bf1e1366 100644
--- a/rules/dnsmasq.make
+++ b/rules/dnsmasq.make
@@ -66,6 +66,10 @@ $(STATEDIR)/dnsmasq.targetinstall:
$(DNSMASQ_DIR)/src/dnsmasq, \
/usr/sbin/dnsmasq)
+ifdef PTXCONF_DNSMASQ_INETD
+ @$(call install_alternative, dnsmasq, 0, 0, 0644, /etc/inetd.conf.d/dnsmasq, n)
+endif
+
ifdef PTXCONF_INITMETHOD_BBINIT
ifdef PTXCONF_DNSMASQ_STARTSCRIPT
@$(call install_alternative, dnsmasq, 0, 0, 0755, /etc/init.d/dnsmasq, n)