summaryrefslogtreecommitdiff
path: root/dnsmasq/dnsmasq_2.15.oe
diff options
context:
space:
mode:
Diffstat (limited to 'dnsmasq/dnsmasq_2.15.oe')
-rw-r--r--dnsmasq/dnsmasq_2.15.oe9
1 files changed, 6 insertions, 3 deletions
diff --git a/dnsmasq/dnsmasq_2.15.oe b/dnsmasq/dnsmasq_2.15.oe
index 91e5725505..b9c2a81884 100644
--- a/dnsmasq/dnsmasq_2.15.oe
+++ b/dnsmasq/dnsmasq_2.15.oe
@@ -2,8 +2,10 @@ SECTION = "console/network"
DESCRIPTION = "Dnsmasq is a lightweight, easy to configure \
DNS forwarder and DHCP server."
MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
+PR = "r1"
-SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/dnsmasq-${PV}.tar.gz"
+SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/dnsmasq-${PV}.tar.gz \
+ file://init"
S = "${WORKDIR}/dnsmasq-${PV}"
do_install () {
@@ -11,6 +13,7 @@ do_install () {
"BINDIR=${D}/${bindir}" \
"MANDIR=${D}/${mandir}" \
install
- install -d ${D}/etc/
- install -m 0755 ${S}/dnsmasq.conf.example ${D}/etc/dnsmasq.conf
+ install -d ${D}/${sysconfdir}/ ${D}/${sysconfdir}/init.d
+ install -m 0755 ${S}/dnsmasq.conf.example ${D}/${sysconfdir}/dnsmasq.conf
+ install -m 755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/dnsmasq
}