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.
This commit is contained in:
Alexander Marx
2015-04-13 08:36:00 +02:00
parent d0552ea9bf
commit 39d435690f

View File

@@ -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){