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