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