From 5c54f926d4ec73c21be2b6033742566a5d89df6d Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Tue, 3 Feb 2009 22:07:01 -0200 Subject: dhcp: add initscript in dhcpd 3.0.2 --- packages/dhcp/dhcp_3.0.2.bb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'packages/dhcp') 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 } -- cgit v1.2.3