diff options
Diffstat (limited to 'dnsmasq')
-rw-r--r-- | dnsmasq/dnsmasq_2.15.oe | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dnsmasq/dnsmasq_2.15.oe b/dnsmasq/dnsmasq_2.15.oe index e911f4d827..bdeff40673 100644 --- a/dnsmasq/dnsmasq_2.15.oe +++ b/dnsmasq/dnsmasq_2.15.oe @@ -9,6 +9,11 @@ SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/dnsmasq-${PV}.tar.gz \ file://init" S = "${WORKDIR}/dnsmasq-${PV}" +inherit update-rc.d + +INITSCRIPT_NAME = "dnsmasq" +INITSCRIPT_PARAMS = "defaults" + do_install () { oe_runmake "PREFIX=${D}/${prefix}" \ "BINDIR=${D}/${bindir}" \ @@ -18,3 +23,5 @@ do_install () { install -m 0755 ${S}/dnsmasq.conf.example ${D}/${sysconfdir}/dnsmasq.conf install -m 755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/dnsmasq } + +CONFFILES_${PN}_nylon = "${sysconfdir}/dnsmasq.conf" |