summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/dhcpd
blob: 1126769c8e6bdfb43e4147fd608ab0738fbf2cdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
#
# $NetBSD: dhcpd,v 1.3 2000/05/13 08:45:06 lukem Exp $
#

# PROVIDE: dhcpd
# REQUIRE: DAEMON

. /etc/rc.subr

name="dhcpd"
rcvar=$name
command="/usr/sbin/${name}"
pidfile="/var/run/${name}.pid"
required_files="/etc/${name}.conf /var/db/${name}.leases"

load_rc_config $name
run_rc_command "$1"
OpenPOWER on IntegriCloud