From be0f53e0029aff5afdbb49ed4d294c72ee0ccfa2 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 9 Jun 2022 11:49:03 +0200 Subject: [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. --- modules-available/remoteaccess/page.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules-available/remoteaccess/page.inc.php') 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"); -- cgit v1.2.3-55-g7522