summaryrefslogtreecommitdiffstats
path: root/modules-available/rebootcontrol/hooks/cron.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2020-04-16 12:34:54 +0200
committerSimon Rettberg2020-05-07 13:31:18 +0200
commit5fc9b9ca232b7f50232104484a653846850c18b8 (patch)
tree3206f02039297b87fb8c4e6b0ff97a26ecb2bf56 /modules-available/rebootcontrol/hooks/cron.inc.php
parent[roomplanner] Disable logout timeout for dedicated manager (diff)
downloadslx-admin-5fc9b9ca232b7f50232104484a653846850c18b8.tar.gz
slx-admin-5fc9b9ca232b7f50232104484a653846850c18b8.tar.xz
slx-admin-5fc9b9ca232b7f50232104484a653846850c18b8.zip
[rebootcontrol] wakeMachines(): Return machines that can't be reached
A clumsy way to return a list of machines we can't wake, since their subnet is not reachable. This is required for the upcoming remoteaccess module, since it needs to know how many machines it could actually wake up. This needs some proper refactoring anyways, but we either need separate functions for building a wakeup plan and actually executing it, or change this method so it takes a binch of machines, but you can specify after how many machines it can actually reach, it should just stop and return.
Diffstat (limited to 'modules-available/rebootcontrol/hooks/cron.inc.php')
0 files changed, 0 insertions, 0 deletions