mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user