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