Home | History | Annotate | Line # | Download | only in rc.d
inetd revision 1.5
      1 #!/bin/sh
      2 #
      3 # $NetBSD: inetd,v 1.5 2000/07/17 15:24:48 lukem Exp $
      4 #
      5 
      6 # PROVIDE: inetd
      7 # REQUIRE: DAEMON LOGIN
      8 # KEYWORD: shutdown
      9 
     10 . /etc/rc.subr
     11 
     12 name="inetd"
     13 command="/usr/sbin/${name}"
     14 pidfile="/var/run/${name}.pid"
     15 required_files="/etc/${name}.conf"
     16 extra_commands="reload"
     17 
     18 load_rc_config $name
     19 run_rc_command "$1"
     20