mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Lots of work on email notification of device connect/disconnect.
This commit is contained in:
parent
f6888d4e61
commit
44dec3bf87
13 changed files with 349 additions and 97 deletions
|
@ -263,7 +263,7 @@ module.exports.CreateAmtProvisioningServer = function (parent, config) {
|
|||
// Setup TLS and commit.
|
||||
attemptTlsSync(dev, function (dev) {
|
||||
dev.consoleMsg('Intel AMT ACM activation completed.');
|
||||
parent.SetConnectivityState(dev.meshid, dev.nodeid, Date.now(), 4, 7); // Report power state as "present" (7).
|
||||
parent.SetConnectivityState(dev.meshid, dev.nodeid, Date.now(), 4, 7, null, { name: dev.name }); // Report power state as "present" (7).
|
||||
if (obj.parent.amtManager != null) { obj.parent.amtManager.startAmtManagement(dev.nodeid, 3, dev.aquired.host); } // Request that Intel AMT manager take a look at this device.
|
||||
destroyDevice(dev); // We are done, clean up.
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue