Upgrade pieces for new dhclient and dhcpd/dhcrelay removal.
[dragonfly.git] / etc / rc.d / dhcpd
CommitLineData
9c600e7d
MD
1#!/bin/sh
2#
3# $NetBSD: dhcpd,v 1.5 2002/03/22 04:33:58 thorpej Exp $
4# $FreeBSD: src/etc/rc.d/dhcpd,v 1.2 2002/06/13 22:14:36 gordon Exp $
696a5717 5# $DragonFly: src/etc/rc.d/Attic/dhcpd,v 1.3 2005/11/19 21:47:32 swildner Exp $
9c600e7d
MD
6#
7
8# PROVIDE: dhcpd
9# REQUIRE: DAEMON
10# BEFORE: LOGIN
11
12. /etc/rc.subr
13
14name="dhcpd"
9c66f8db 15rcvar=`set_rcvar`
9c600e7d
MD
16command="/usr/sbin/${name}"
17pidfile="/var/run/${name}.pid"
18required_files="/etc/${name}.conf /var/db/${name}.leases"
19
20load_rc_config $name
21run_rc_command "$1"