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