]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Noch ein fix, SMART-Status-Anzeige geht!
authorms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Tue, 1 May 2007 20:35:00 +0000 (20:35 +0000)
committerms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Tue, 1 May 2007 20:35:00 +0000 (20:35 +0000)
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@512 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

html/cgi-bin/media.cgi

index 00701518163fc3519c3a6d2589e6bcd72b219629..5f9662317ca1ede2e7f79855d6406dca928f8923 100644 (file)
@@ -195,7 +195,7 @@ sub diskbox {
                  if (-e "/usr/local/bin/hddshutdown-state") {
                    system("/usr/local/bin/hddshutdown-state $disk");
                  }
-                 my $smart = `smartctrl $disk`;
+                 my $smart = `/usr/local/bin/smartctrl $disk`;
                        $smart = &Header::cleanhtml($smart);
                        print <<END
                                <br /><input type="button" onClick="swapVisibility('smart_$disk')" value="$Lang::tr{'smart information'}" />