1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Added batch agent update.

This commit is contained in:
Ylian Saint-Hilaire 2021-02-16 23:58:40 -08:00
parent 86a7fee882
commit 34f07dfdbc
6 changed files with 1833 additions and 1807 deletions

View file

@ -1473,7 +1473,7 @@ function CreateMeshCentralServer(config, args) {
} catch (ex) { }
// Load the list of mesh agents and install scripts
if (obj.args.noagentupdate == 1) { for (i in obj.meshAgentsArchitectureNumbers) { obj.meshAgentsArchitectureNumbers[i].update = false; } }
if ((obj.args.noagentupdate == 1) || (obj.args.noagentupdate == true)) { for (i in obj.meshAgentsArchitectureNumbers) { obj.meshAgentsArchitectureNumbers[i].update = false; } }
obj.updateMeshAgentsTable(function () {
obj.updateMeshAgentInstallScripts();