
### Default Settings ###
# export DHCPD_CONF=SYSCONFDIR/dhcpd.conf
# export LEASE_FILE=LOCALSTATEDIR/dhcpd.leases
# export DHCPD_BINARY=PREFIX/sbin/dhcpd

### This is isc dhcpd's path for the lease file
### if compiled with localstatedir=/var
# export LEASE_FILE=/var/state/dhcp/dhcpd.leases

### Debian commands for starting the server at boot ###
# export SYSINIT_START_CMD="update-rc.d -f dhcpd defaults"
# export SYSINIT_STOP_CMD="update-rc.d -f dhcpd remove"

### RH/Fedora commands for starting the server at boot ###
### This is the defaults for the rpm specfile ###
export SYSINIT_START_CMD="chkconfig dhcpd on"
export SYSINIT_STOP_CMD="chkconfig dhcpd off"

### Redhat/Fedora/etc ###
./configure DHCPD_BINARY=/usr/sbin/dhcpd --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var/lib/dhcp --sbindir=/usr/sbin &&
make && make install

### Debian/etc ###
# ./configure DHCPD_BINARY=dhcpd3 --prefix=/usr --sysconfdir=/etc/dhcp3 \
# --localstatedir=/var/lib/dhcp3 --sbindir=/usr/sbin &&
# make && make install
