From: Alexander Marx Date: Mon, 13 Apr 2015 06:36:00 +0000 (+0200) Subject: BUG10797: Fix addontable in services.cgi when using squid-accounting addon X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=39d435690fa0fa56886bc95a00f7eb01463b7b80;p=people%2Fms%2Fipfire-2.x.git 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. --- 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){