From 39d435690fa0fa56886bc95a00f7eb01463b7b80 Mon Sep 17 00:00:00 2001 From: Alexander Marx Date: Mon, 13 Apr 2015 08:36:00 +0200 Subject: [PATCH] BUG10797: Fix addontable in services.cgi when using squid-accounting addon When squid-accounting addon is installed, it shows up under services.cgi as "squid" service which is wrong. --- html/cgi-bin/services.cgi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/html/cgi-bin/services.cgi b/html/cgi-bin/services.cgi index 6bfa5bbbe8..76bd9edebc 100644 --- a/html/cgi-bin/services.cgi +++ b/html/cgi-bin/services.cgi @@ -188,6 +188,9 @@ END # mdadm should not stopped with webif because this could crash the system # chomp($_); + if ( $_ eq 'squid' ) { + next; + } if ( ($_ ne "alsa") && ($_ ne "mdadm") ) { $lines++; if ($lines % 2){ -- 2.39.5