Home | History | Annotate | Line # | Download | only in rc.d
ipmon revision 1.9.2.1
      1 #!/bin/sh
      2 #
      3 # $NetBSD: ipmon,v 1.9.2.1 2004/04/09 10:38:56 tron 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