]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - html/cgi-bin/services.cgi
services.cgi: blacklist mdadm (no good idea to stop it with webif).
[ipfire-2.x.git] / html / cgi-bin / services.cgi
index b6efe095849431c112ab8d36bd488833aaa829d5..55740cf26dbd56b3bb20234329e6206465cdd473 100644 (file)
@@ -177,9 +177,10 @@ END
                        # blacklist some packages
                        #
                        # alsa has trouble with the volume saving and was not really stopped
+                       # mdadm should not stopped with webif because this could crash the system
                        #
                        chomp($_);
-                       if ($_ ne "alsa"){
+                       if ( ($_ ne "alsa") && ($_ ne "mdadm") ) {
                                $lines++;
                                if ($lines % 2){
                                        print "<tr bgcolor='$color{'color22'}'>";