diff options
Diffstat (limited to 'libexec/rc/rc.d/bsnmpd')
-rwxr-xr-x | libexec/rc/rc.d/bsnmpd | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libexec/rc/rc.d/bsnmpd b/libexec/rc/rc.d/bsnmpd new file mode 100755 index 000000000000..60f4f5e86617 --- /dev/null +++ b/libexec/rc/rc.d/bsnmpd @@ -0,0 +1,21 @@ +#!/bin/sh +# +# + +# 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}" + +: ${bsnmpd_svcj_options:="net_basic"} + +load_rc_config $name +pidfile="${bsnmpd_pidfile:-/var/run/snmpd.pid}" +command_args="-p ${pidfile}" +run_rc_command "$1" |