Sync usage with man page.
[netbsd-mini2440.git] / etc / rc.d / dhclient
blobd1f426e790badf935efbe70422470113d5fe6f06
1 #!/bin/sh
3 # $NetBSD: dhclient,v 1.8 2002/03/22 04:33:58 thorpej Exp $
6 # PROVIDE: dhclient
7 # REQUIRE: network mountcritlocal
8 # BEFORE: NETWORKING
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.
14 $_rc_subr_loaded . /etc/rc.subr
16 name="dhclient"
17 rcvar=$name
18 command="/sbin/${name}"
19 pidfile="/var/run/${name}.pid"
21 load_rc_config $name
22 run_rc_command "$1"