summaryrefslogtreecommitdiffstats
path: root/modules-available/remoteaccess/page.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2022-06-09 11:49:03 +0200
committerSimon Rettberg2022-06-09 11:49:03 +0200
commitbe0f53e0029aff5afdbb49ed4d294c72ee0ccfa2 (patch)
tree2fd6339912a25ab9577998697faf161092e23dbd /modules-available/remoteaccess/page.inc.php
parent[rebootcontrol] Don't word-wrap in last seen column of subnet table (diff)
downloadslx-admin-be0f53e0029aff5afdbb49ed4d294c72ee0ccfa2.tar.gz
slx-admin-be0f53e0029aff5afdbb49ed4d294c72ee0ccfa2.tar.xz
slx-admin-be0f53e0029aff5afdbb49ed4d294c72ee0ccfa2.zip
[remoteaccess] Track unwakable machines, ignore restricted locations
- Locations that are set to "never" or "only outside business hours" will not be considered during WOL, and not delivered to the guacamole proxy. - If we cannot wake as much machines per remote group as configured, we'll display a little number next to the WOL count setting.
Diffstat (limited to 'modules-available/remoteaccess/page.inc.php')
-rw-r--r--modules-available/remoteaccess/page.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/remoteaccess/page.inc.php b/modules-available/remoteaccess/page.inc.php
index 70d34238..05816beb 100644
--- a/modules-available/remoteaccess/page.inc.php
+++ b/modules-available/remoteaccess/page.inc.php
@@ -92,7 +92,7 @@ class Page_RemoteAccess extends Page
if ($groupid === false) {
// Edit list of groups and their settings
$groups = Database::queryAll("SELECT g.groupid, g.groupname, g.wolcount, g.passwd,
- Count(l.locationid) AS locs, If(g.active, 'checked', '') AS checked
+ Count(l.locationid) AS locs, If(g.active, 'checked', '') AS checked, unwoken
FROM remoteaccess_group g LEFT JOIN remoteaccess_x_location l USING (groupid)
GROUP BY g.groupid, g.groupname
ORDER BY g.groupname ASC");