Home | History | Annotate | Line # | Download | only in rc.d
ipmon revision 1.10
      1 #!/bin/sh
      2 #
      3 # $NetBSD: ipmon,v 1.10 2002/10/21 05:20:00 lukem Exp $
      4 #
      5 
      6 # PROVIDE: ipmon
      7 # REQUIRE: syslogd
      8 # BEFORE:  SERVERS
      9 
     10 . /etc/rc.subr
     11 
     12 name="ipmon"
     13 rcvar=$name
     14 command="/usr/sbin/${name}"
     15 command_args="-D"
     16 pidfile="/var/run/${name}.pid"
     17 
     18 load_rc_config $name
     19 run_rc_command "$1"
     20