mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Added amtscanner option to settings for #3139.
This commit is contained in:
		
							parent
							
								
									f4cb2bab1e
								
							
						
					
					
						commit
						a75af8aa44
					
				
					 2 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -111,6 +111,8 @@
 | 
			
		|||
        "noAgentUpdate": { "type": "integer", "default": 0, "description": "Set to 1 to present the server from updating any agent." },
 | 
			
		||||
        "agentUpdateSystem": { "type": "integer", "default": 1, "description": "When set to 2, all agents that need to be updated will use the meshcore.js update system. With the default value of 1, the native update system is used." },
 | 
			
		||||
        "temporaryAgentUpdate": { "type": "boolean", "default": true, "description": "Set to false to not allow temporary agents to be updated." },
 | 
			
		||||
        "amtScanner": { "type": "boolean", "default": true, "description": "Set to false to disable Intel AMT scanning on the local network, this is already disabled in WAN mode." },
 | 
			
		||||
        "meshScanner": { "type": "boolean", "default": true, "description": "Set to false to disable agent multicast scanning on the local network, this is already disabled in WAN mode." },
 | 
			
		||||
        "meshErrorLogPath": { "type": "string" },
 | 
			
		||||
        "npmPath": { "type": "string" },
 | 
			
		||||
        "npmProxy": { "type": "string", "format": "uri" },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1569,8 +1569,8 @@ function CreateMeshCentralServer(config, args) {
 | 
			
		|||
 | 
			
		||||
                // Setup the Intel AMT local network scanner
 | 
			
		||||
                if (obj.args.wanonly != true) {
 | 
			
		||||
                    obj.amtScanner = require('./amtscanner.js').CreateAmtScanner(obj).start();
 | 
			
		||||
                    obj.meshScanner = require('./meshscanner.js').CreateMeshScanner(obj).start();
 | 
			
		||||
                    if (obj.args.amtscanner != true) { obj.amtScanner = require('./amtscanner.js').CreateAmtScanner(obj).start(); }
 | 
			
		||||
                    if (obj.args.meshscanner != true) { obj.meshScanner = require('./meshscanner.js').CreateMeshScanner(obj).start(); }
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                // Setup and start the MPS server
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue