NetBSD/etc/rc.d/dhcpd

20 lines
325 B
Plaintext
Raw Normal View History

2000-03-10 14:53:23 +03:00
#!/bin/sh
#
# $NetBSD: dhcpd,v 1.5 2002/03/22 04:33:58 thorpej Exp $
2000-03-10 14:53:23 +03:00
#
# PROVIDE: dhcpd
# REQUIRE: DAEMON
# BEFORE: LOGIN
2000-03-10 14:53:23 +03:00
. /etc/rc.subr
name="dhcpd"
rcvar=$name
2000-03-10 14:53:23 +03:00
command="/usr/sbin/${name}"
pidfile="/var/run/${name}.pid"
required_files="/etc/${name}.conf /var/db/${name}.leases"
load_rc_config $name
2000-03-10 14:53:23 +03:00
run_rc_command "$1"