cd2190897b
ISC DHCP 4.1.x will have several new DHCPv6 features that were not in DHCP 4.0.x. These new features include: * Support for the rapid-commit option on the client side * Prefix Delegation support * IA_TA address support * A basic DHCPv6 relay agent * basic DHCPv6 Leasequery support
33 lines
716 B
Bash
Executable file
33 lines
716 B
Bash
Executable file
#!@RCD_SCRIPTS_SHELL@
|
|
#
|
|
# $NetBSD: isc_dhclient.sh,v 1.1 2009/01/04 00:59:23 adrianp Exp $
|
|
#
|
|
|
|
# PROVIDE: dhclient
|
|
# REQUIRE: network mountcritlocal
|
|
# BEFORE: NETWORKING
|
|
#
|
|
# Note that there no syslog logging of dhclient messages at boot because
|
|
# dhclient needs to start before services that syslog depends upon do.
|
|
#
|
|
|
|
if [ -f /etc/rc.subr ]; then
|
|
. /etc/rc.subr
|
|
fi
|
|
|
|
name="isc_dhclient"
|
|
rcvar="${name}"
|
|
command="@PREFIX@/sbin/dhclient"
|
|
pidfile="@VARBASE@/run/isc-dhcp/isc-dhclient.pid"
|
|
start_precmd="isc_dhclient_precmd"
|
|
|
|
isc_dhclient_precmd()
|
|
{
|
|
if [ ! -d @VARBASE@/run/isc-dhcp ]; then
|
|
@MKDIR@ @VARBASE@/run/isc-dhcp
|
|
@CHMOD@ 0770 @VARBASE@/run/isc-dhcp
|
|
fi
|
|
}
|
|
|
|
load_rc_config $rcvar
|
|
run_rc_command "$1"
|