diff --git a/net/net-snmp/files/snmpd.init b/net/net-snmp/files/snmpd.init index 96d36b1620..7c1a7429b7 100644 --- a/net/net-snmp/files/snmpd.init +++ b/net/net-snmp/files/snmpd.init @@ -143,6 +143,7 @@ snmpd_access_default_add() { snmpd_access_HostName_add() { local cfg="$1" config_get hostname "$cfg" HostName + [ -n "$hostname" ] || return 0 config_get mode "$cfg" Mode [ -n "$mode" ] || return 0 config_get community "$cfg" CommunityName