Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 3023
Collapse All | Expand All

(-)orig/usr/portage/net-misc/dhcp/dhcp-3.0-r2.ebuild (+1 lines)
Lines 41-46 Link Here
41
src_install() {
41
src_install() {
42
	dodir /var/lib/dhcp
42
	dodir /var/lib/dhcp
43
	touch ${D}/var/lib/dhcp/dhclient.leases
43
	touch ${D}/var/lib/dhcp/dhclient.leases
44
	touch ${D}/var/lib/dhcp/dhcpd.leases
44
45
45
	cd ${S}/work.linux-2.2/client
46
	cd ${S}/work.linux-2.2/client
46
	into / ; dosbin dhclient
47
	into / ; dosbin dhclient
(-)orig/usr/portage/net-misc/dhcp/files/conf.dhcpd (-3 / +6 lines)
Lines 1-7 Link Here
1
# Copyright 1999-2002 Gentoo Technologies, Inc.
1
# Copyright 1999-2002 Gentoo Technologies, Inc.
2
# Distributed under the terms of the GNU General Public License, v2 or later
2
# Distributed under the terms of the GNU General Public License, v2 or later
3
# /space/gentoo/cvsroot/gentoo-x86/net-misc/dhcp/files/conf.dhcpd,v 1.2 2002/06/17 18:27:00 lostlogic Exp
3
# /space/gentoo/cvsroot/gentoo-x86/net-misc/dhcp/files/conf.dhcpd,v 1.2 2002/06/17 18:27:00 lostlogic Exp
4
#configure which interface or interfaces to for
4
5
dhcp to listen on
5
# configure which interface or interfaces to for dhcp to listen on
6
#list all interfaces space separated.
6
# list all interfaces space separated.
7
IFACE="eth0"
7
IFACE="eth0"
8
9
# Insert any other options needed
10
DHCPD_OPTS=""
(-)orig/usr/portage/net-misc/dhcp/files/dhcp.rc7 (-1 / +1 lines)
Lines 20-26 Link Here
20
start() {
20
start() {
21
    checkconfig || return 1
21
    checkconfig || return 1
22
    ebegin "Starting dhcpd"
22
    ebegin "Starting dhcpd"
23
    start-stop-daemon --start --quiet --exec /usr/sbin/dhcpd -- ${IFACE}
23
    start-stop-daemon --start --quiet --exec /usr/sbin/dhcpd -- ${DHCPD_OPTS} ${IFACE}
24
    eend $?
24
    eend $?
25
}
25
}
26
26

Return to bug 3023