mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added tiny core support.
This commit is contained in:
parent
bbcda31008
commit
70b53b0f1c
7 changed files with 1225 additions and 1191 deletions
|
@ -4006,6 +4006,9 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
|
|||
} else if (command.type == 'recovery') {
|
||||
// Send the recovery core to the agent
|
||||
parent.sendMeshAgentCore(user, domain, node._id, 'recovery');
|
||||
} else if (command.type == 'tiny') {
|
||||
// Send the tiny core to the agent
|
||||
parent.sendMeshAgentCore(user, domain, node._id, 'tiny');
|
||||
} else if ((command.type == 'custom') && (common.validateString(command.path, 1, 2048) == true)) {
|
||||
// Send a mesh agent core to the mesh agent
|
||||
var file = parent.getServerFilePath(user, domain, command.path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue