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