From b497d4a7200591e0b7b91948120cbfa395f5c92f Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 10 Dec 2019 18:18:28 +0100 Subject: [statistics/rebootcontrol] Add remote exec UI --- modules-available/statistics/page.inc.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules-available/statistics/page.inc.php') diff --git a/modules-available/statistics/page.inc.php b/modules-available/statistics/page.inc.php index ff5a59cd..533a9bf9 100644 --- a/modules-available/statistics/page.inc.php +++ b/modules-available/statistics/page.inc.php @@ -74,6 +74,10 @@ class Page_Statistics extends Page $this->rebootControl(false); } elseif ($action === 'wol') { $this->wol(); + } elseif ($action === 'prepare-exec') { + if (Module::isAvailable('rebootcontrol')) { + RebootControl::prepareExec(); + } } // Make sure we don't render any content for POST requests - should be handled above and then -- cgit v1.2.3-55-g7522