xref: /freebsd/libexec/rc/rc.d/bsnmpd (revision 2e3f49888ec8851bafb22011533217487764fdb0)
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
16load_rc_config $name
17pidfile="${bsnmpd_pidfile:-/var/run/snmpd.pid}"
18command_args="-p ${pidfile}"
19run_rc_command "$1"
20