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