NetBSD/etc/rc.d/dhcpd

19 lines
306 B
Plaintext
Raw Normal View History

2000-03-10 14:53:23 +03:00
#!/bin/sh
#
# $NetBSD: dhcpd,v 1.4 2000/09/19 13:04:38 lukem Exp $
2000-03-10 14:53:23 +03:00
#
# PROVIDE: dhcpd
# REQUIRE: DAEMON
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"