1 #!/bin/sh 2 # 3 # $NetBSD: ifwatchd,v 1.4 2004/08/13 18:08:03 mycroft Exp $ 4 # 5 6 # PROVIDE: ifwatchd 7 # REQUIRE: mountcritremote syslogd 8 # BEFORE: SERVERS 9 10 $_rc_subr_loaded . /etc/rc.subr 11 12 name="ifwatchd" 13 rcvar=$name 14 command="/usr/sbin/${name}" 15 16 load_rc_config $name 17 run_rc_command "$1" 18 19