mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-25 12:02:01 +01:00
2f0f20717d
Both of these tools are usable in vnet jails, so allow them to run there. PR: 220431, 220432 Submitted by: olivier@freebsd.org
21 lines
347 B
Bash
Executable File
21 lines
347 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: bsnmpd
|
|
# REQUIRE: NETWORKING syslogd
|
|
# KEYWORD: nojailvnet shutdown
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="bsnmpd"
|
|
desc="Simple and extensible SNMP daemon"
|
|
rcvar="bsnmpd_enable"
|
|
command="/usr/sbin/${name}"
|
|
|
|
load_rc_config $name
|
|
pidfile="${bsnmpd_pidfile:-/var/run/snmpd.pid}"
|
|
command_args="-p ${pidfile}"
|
|
run_rc_command "$1"
|