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