1#!/bin/sh 2# 3# $NetBSD: dhclient,v 1.9 2004/08/13 18:08:03 mycroft Exp $ 4# 5 6# PROVIDE: dhclient 7# REQUIRE: network mountcritlocal 8# BEFORE: NETWORKING 9# 10# Note that there no syslog logging of dhclient messages at boot because 11# dhclient needs to start before services that syslog depends upon do. 12# 13 14$_rc_subr_loaded . /etc/rc.subr 15 16name="dhclient" 17rcvar=$name 18command="/sbin/${name}" 19pidfile="/var/run/${name}.pid" 20 21load_rc_config $name 22run_rc_command "$1" 23