2005-04-17 10:47:58 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
# PROVIDE: bsnmpd
|
|
|
|
# REQUIRE: NETWORKING syslogd
|
2008-07-16 19:50:29 +00:00
|
|
|
# KEYWORD: nojail shutdown
|
2005-04-17 10:47:58 +00:00
|
|
|
|
|
|
|
. /etc/rc.subr
|
|
|
|
|
|
|
|
name="bsnmpd"
|
2012-01-14 02:18:41 +00:00
|
|
|
rcvar="bsnmpd_enable"
|
2005-04-17 10:47:58 +00:00
|
|
|
command="/usr/sbin/${name}"
|
|
|
|
pidfile="/var/run/snmpd.pid"
|
|
|
|
|
|
|
|
load_rc_config $name
|
|
|
|
run_rc_command "$1"
|