[BACK]Return to dhcpcd CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / etc / rc.d

File: [cvs.NetBSD.org] / src / etc / rc.d / dhcpcd (download)

Revision 1.1.2.2, Sun May 10 21:32:57 2009 UTC (9 years, 10 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.1.2.1: +15 -0 lines

Pull up following revision(s) (requested by roy in ticket #534):
	etc/defaults/rc.conf: revision 1.103
	etc/rc.d/Makefile: revision 1.78 via patch
	etc/rc.d/dhcpcd: revision 1.1
Add an rc.d script for dhcpcd(8)

#!/bin/sh

# PROVIDE: dhcpcd
# REQUIRE: network mountcritlocal
# BEFORE:  NETWORKING

$_rc_subr_loaded . /etc/rc.subr

name=dhcpcd
rcvar=$name
command=/sbin/$name
pidfile=/var/run/$name.pid

load_rc_config $name
run_rc_command "$1"