NetBSD/etc/rc.d/dhcpd

18 lines
288 B
Bash
Executable File

#!/bin/sh
#
# $NetBSD: dhcpd,v 1.2 2000/03/13 04:03:57 lukem Exp $
#
# PROVIDE: dhcpd
# REQUIRE: DAEMON
. /etc/rc.subr
. /etc/rc.conf
name="dhcpd"
command="/usr/sbin/${name}"
pidfile="/var/run/${name}.pid"
required_files="/etc/${name}.conf /var/db/${name}.leases"
run_rc_command "$1"