xref: /freebsd/libexec/rc/rc.d/bsnmpd (revision 580744621f33383027108364dcadad718df46ffe)
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