]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
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 b6efe095849431c112ab8d36bd488833aaa829d5..55740cf26dbd56b3bb20234329e6206465cdd473 100644 (file)
@@ -177,9 +177,10 @@ END
                        # blacklist some packages
                        #
                        # alsa has trouble with the volume saving and was not really stopped
                        # 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($_);
                        #
                        chomp($_);
-                       if ($_ ne "alsa"){
+                       if ( ($_ ne "alsa") && ($_ ne "mdadm") ) {
                                $lines++;
                                if ($lines % 2){
                                        print "<tr bgcolor='$color{'color22'}'>";
                                $lines++;
                                if ($lines % 2){
                                        print "<tr bgcolor='$color{'color22'}'>";