Commit d6e54811 authored by Franco Fichtner's avatar Franco Fichtner

services: enrich with plugins

(cherry picked from commit 07bafdf6)
parent e6d7a121
......@@ -177,6 +177,12 @@ function service_control_restart($name, $extras)
$services = services_get();
require_once 'plugins.inc';
foreach (plugins_services() as $service) {
$services[] = $service;
}
if (count($services) > 0) {
uasort($services, "service_name_compare");
}
......
......@@ -39,6 +39,12 @@ require_once("interfaces.inc");
$services = services_get();
require_once 'plugins.inc';
foreach (plugins_services() as $service) {
$services[] = $service;
}
if (isset($_POST['servicestatusfilter'])) {
$config['widgets']['servicestatusfilter'] = htmlspecialchars($_POST['servicestatusfilter'], ENT_QUOTES | ENT_HTML401);
write_config("Saved Service Status Filter via Dashboard");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment