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

Added device power operations to meshctrl.js.

This commit is contained in:
Ylian Saint-Hilaire 2021-01-05 18:29:23 -08:00
parent a98cdc1d5e
commit d919c23461
4 changed files with 81 additions and 9 deletions

View file

@ -1014,7 +1014,7 @@ function createMeshCore(agent) {
}
case 'wakeonlan': {
// Send wake-on-lan on all interfaces for all MAC addresses in data.macs array. The array is a list of HEX MAC addresses.
sendConsoleText("Server requesting wake-on-lan for: " + data.macs.join(', '));
//sendConsoleText("Server requesting wake-on-lan for: " + data.macs.join(', '));
for (var i in data.macs) { sendWakeOnLan(data.macs[i]); }
break;
}