services.cgi: blacklist mdadm (no good idea to stop it with webif).
authorArne Fitzenreiter <arne_f@ipfire.org>
Mon, 18 Apr 2011 18:53:41 +0000 (20:53 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 18 Apr 2011 18:53:41 +0000 (20:53 +0200)
html/cgi-bin/services.cgi

index b6efe09..55740cf 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'}'>";