net-mgmt/net-snmp: do not drop privileges (#4138)

Appears to have changed in FreeBSD ports default behaviour.

PR: https://github.com/opnsense/plugins/issues/4137
This commit is contained in:
Franco Fichtner
2024-07-31 14:56:51 +02:00
committed by GitHub
parent 90b49ceca3
commit b30d8b5be3
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
PLUGIN_NAME= net-snmp
PLUGIN_VERSION= 1.5
PLUGIN_REVISION= 4
PLUGIN_REVISION= 5
PLUGIN_COMMENT= Net-SNMP is a daemon for the SNMP protocol
PLUGIN_DEPENDS= net-snmp
PLUGIN_MAINTAINER= m.muenz@gmail.com
@@ -1,6 +1,7 @@
{% if helpers.exists('OPNsense.netsnmp.general.enabled') and OPNsense.netsnmp.general.enabled == '1' %}
snmpd_setup="/usr/local/opnsense/scripts/OPNsense/Netsnmp/setup.sh"
snmpd_enable="YES"
snmpd_sugid="NO"
{% else %}
snmpd_enable="NO"
{% endif %}