Home | History | Annotate | Line # | Download | only in rc.d
dhcpd revision 1.3
      1 #!/bin/sh
      2 #
      3 # $NetBSD: dhcpd,v 1.3 2000/05/13 08:45:06 lukem Exp $
      4 #
      5 
      6 # PROVIDE: dhcpd
      7 # REQUIRE: DAEMON
      8 
      9 . /etc/rc.subr
     10 
     11 name="dhcpd"
     12 command="/usr/sbin/${name}"
     13 pidfile="/var/run/${name}.pid"
     14 required_files="/etc/${name}.conf /var/db/${name}.leases"
     15 
     16 load_rc_config $name
     17 run_rc_command "$1"
     18