2001-12-10 19:53:06 +03:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2004-08-13 22:08:03 +04:00
|
|
|
# $NetBSD: ifwatchd,v 1.4 2004/08/13 18:08:03 mycroft Exp $
|
2001-12-10 19:53:06 +03:00
|
|
|
#
|
|
|
|
|
|
|
|
# PROVIDE: ifwatchd
|
2003-06-24 13:32:46 +04:00
|
|
|
# REQUIRE: mountcritremote syslogd
|
2003-03-14 12:18:50 +03:00
|
|
|
# BEFORE: SERVERS
|
2001-12-10 19:53:06 +03:00
|
|
|
|
2004-08-13 22:08:03 +04:00
|
|
|
$_rc_subr_loaded . /etc/rc.subr
|
2001-12-10 19:53:06 +03:00
|
|
|
|
|
|
|
name="ifwatchd"
|
|
|
|
rcvar=$name
|
|
|
|
command="/usr/sbin/${name}"
|
|
|
|
|
|
|
|
load_rc_config $name
|
|
|
|
run_rc_command "$1"
|
|
|
|
|