1#!/bin/sh 2# 3# 4 5# PROVIDE: bsnmpd 6# REQUIRE: NETWORKING syslogd 7# KEYWORD: nojailvnet shutdown 8 9. /etc/rc.subr 10 11name="bsnmpd" 12desc="Simple and extensible SNMP daemon" 13rcvar="bsnmpd_enable" 14command="/usr/sbin/${name}" 15 16: ${bsnmpd_svcj_options:="net_basic"} 17 18load_rc_config $name 19pidfile="${bsnmpd_pidfile:-/var/run/snmpd.pid}" 20command_args="-p ${pidfile}" 21run_rc_command "$1" 22