mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Added Intel AMT power/reset to BIOS on actions menu of desktop and terminal tab.
This commit is contained in:
		
							parent
							
								
									fcfe4d964e
								
							
						
					
					
						commit
						571d9d3c7b
					
				
					 3 changed files with 44 additions and 6 deletions
				
			
		|  | @ -3001,8 +3001,8 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use | |||
|                                 } | ||||
| 
 | ||||
|                                 if ((command.actiontype >= 300) && (command.actiontype < 400)) { | ||||
|                                     if ((command.actiontype != 302) && (command.actiontype != 308) && (command.actiontype != 310)) return; // Invalid action type.
 | ||||
|                                     // Intel AMT power command, actiontype: 2 = Power on, 8 = Power down, 10 = reset
 | ||||
|                                     if ((command.actiontype != 302) && (command.actiontype != 308) && (command.actiontype < 310) && (command.actiontype > 312)) return; // Invalid action type.
 | ||||
|                                     // Intel AMT power command, actiontype: 2 = Power on, 8 = Power down, 10 = reset, 11 = Power on to BIOS, 12 = Reset to BIOS, 13 = Power on to BIOS with SOL, 14 = Reset to BIOS with SOL
 | ||||
|                                     parent.parent.DispatchEvent('*', obj, { action: 'amtpoweraction', userid: user._id, username: user.name, nodeids: [node._id], domain: domain.id, nolog: 1, actiontype: command.actiontype - 300 }); | ||||
|                                 } else { | ||||
|                                     if ((command.actiontype < 2) && (command.actiontype > 4)) return; // Invalid action type.
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue