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:
parent
a98cdc1d5e
commit
d919c23461
4 changed files with 81 additions and 9 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue