add amt power off warning about active sessions #4768

Signed-off-by: si458 <simonsmith5521@gmail.com>

si458 committed Jan 13, 2024 at 15:58 UTC 227b4c68e76b5ed04fbb75a51dd9d340316106f8
1 file changed +1 -1
views/default.handlebars
+1 -1
@@ -8389,7 +8389,7 @@
8389 } else if (op == 302) { // Intel AMT power on
8390 setDialogMode(2, "Intel&reg; AMT Power Operation", 3, function() { meshserver.send({ action: 'poweraction', nodeids: [ currentNode._id ], actiontype: parseInt(op) }); }, "Perform Intel&reg; AMT power on?");
8391 } else if (op == 308) { // Intel AMT power off
8392 - setDialogMode(2, "Intel&reg; AMT Power Operation", 3, function() { meshserver.send({ action: 'poweraction', nodeids: [ currentNode._id ], actiontype: parseInt(op) }); }, "Perform Intel&reg; AMT power off?");
8392 + setDialogMode(2, "Intel&reg; AMT Power Operation", 3, function() { meshserver.send({ action: 'poweraction', nodeids: [ currentNode._id ], actiontype: parseInt(op) }); }, "Perform Intel&reg; AMT power off?<br><br><b>NOTE: If there is an active AMT session, then power off command will be rejected, so you must disconnect from the AMT session first!</b>");
8393 } else if (op == 310) { // Intel AMT reset
8394 setDialogMode(2, "Intel&reg; AMT Power Operation", 3, function() { meshserver.send({ action: 'poweraction', nodeids: [ currentNode._id ], actiontype: parseInt(op) }); }, "Perform Intel&reg; AMT reset?");
8395 } else if (op == 311) { // Intel AMT power on to BIOS