From 4539655428e95ceee06f921faab59ef2537b9931 Mon Sep 17 00:00:00 2001 From: Bruno Randolf Date: Tue, 19 Oct 2004 10:38:53 +0000 Subject: Merge bk://openembedded@openembedded.bkbits.net/packages into null.(none):/data/mtx/oe/oe.write/packages 2004/10/19 12:35:10+02:00 (none)!br1 nylon and mtx-1 updates 2004/10/19 12:33:19+02:00 (none)!br1 prism54: fixed firmware path, updated dependencies 2004/10/19 12:31:39+02:00 (none)!br1 dnsmasq: add init script BKrev: 4174eebdzmnIpmOU7hQenuCUYspTYw --- dnsmasq/dnsmasq_2.15.oe | 9 ++++++--- dnsmasq/files/init | 0 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 dnsmasq/files/init (limited to 'dnsmasq') 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 " +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 } diff --git a/dnsmasq/files/init b/dnsmasq/files/init new file mode 100644 index 0000000000..e69de29bb2 -- cgit v1.2.3