Neue Version von hddshutdown

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@791 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
maniacikarus
2007-08-20 15:17:03 +00:00
parent f480386fc6
commit 51585c70de
4 changed files with 96 additions and 165 deletions

View File

@@ -181,8 +181,8 @@ sub diskbox {
print "<img alt='' src='/graphs/disk-$disk-day.png' border='0' />";
print "</a>";
print "<br />\n";
if (-e "/usr/local/bin/hddshutdown-state") {
system("/usr/local/bin/hddshutdown-state $disk");
if (-e "/usr/local/bin/hddshutdown") {
system("/usr/local/bin/hddshutdown state $disk");
}
my $smart = `/usr/local/bin/smartctrl $disk`;
$smart = &Header::cleanhtml($smart);