NetBSD/etc/rc.d/ipmon

20 lines
287 B
Plaintext
Raw Normal View History

2000-03-10 14:53:23 +03:00
#!/bin/sh
#
2002-10-21 09:20:00 +04:00
# $NetBSD: ipmon,v 1.10 2002/10/21 05:20:00 lukem Exp $
2000-03-10 14:53:23 +03:00
#
# PROVIDE: ipmon
# REQUIRE: syslogd
# BEFORE: SERVERS
2000-03-10 14:53:23 +03:00
. /etc/rc.subr
name="ipmon"
rcvar=$name
2000-03-10 14:53:23 +03:00
command="/usr/sbin/${name}"
command_args="-D"
2002-10-21 09:20:00 +04:00
pidfile="/var/run/${name}.pid"
load_rc_config $name
2000-03-10 14:53:23 +03:00
run_rc_command "$1"