summaryrefslogtreecommitdiff
path: root/packages/dhcp/dhcp_3.0.2.bb
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2009-02-03 22:07:01 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2009-02-10 18:51:58 -0200
commit5c54f926d4ec73c21be2b6033742566a5d89df6d (patch)
treec716458d061252e5f63cadf36f83b79b66f349a1 /packages/dhcp/dhcp_3.0.2.bb
parent3849a05c4986e22769263057a9a5645c8dec67ad (diff)
dhcp: add initscript in dhcpd 3.0.2
Diffstat (limited to 'packages/dhcp/dhcp_3.0.2.bb')
-rw-r--r--packages/dhcp/dhcp_3.0.2.bb9
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/dhcp/dhcp_3.0.2.bb b/packages/dhcp/dhcp_3.0.2.bb
index f8d85089fe..faf22b29cf 100644
--- a/packages/dhcp/dhcp_3.0.2.bb
+++ b/packages/dhcp/dhcp_3.0.2.bb
@@ -2,7 +2,7 @@ SECTION = "console/network"
DESCRIPTION = "Internet Software Consortium DHCP package"
HOMEPAGE = "http://www.isc.org/"
LICENSE = "BSD"
-PR = "r7"
+PR = "r8"
SRC_URI = "ftp://ftp.isc.org/isc/dhcp/dhcp-3.0-history/dhcp-${PV}.tar.gz \
file://noattrmode.patch;patch=1 \
file://fixincludes.patch;patch=1 \
@@ -12,6 +12,13 @@ SRC_URI = "ftp://ftp.isc.org/isc/dhcp/dhcp-3.0-history/dhcp-${PV}.tar.gz \
file://init-server file://default-server \
file://dhclient.conf file://dhcpd.conf"
+
+inherit update-rc.d
+
+INITSCRIPT_PACKAGES = "dhcp-server"
+INITSCRIPT_NAME_dhcp-server = dhcp-server
+INITSCRIPT_PARAMS_dhcp-server = "start 30 2 3 4 5 . stop 30 0 1 6 ."
+
do_configure() {
./configure
}