Load acpi module for button shutdown, event is still missing

Fixed makegraphs to handle disks not in database but returnig value


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1047 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
maniacikarus
2007-11-02 16:35:10 +00:00
parent cea5b3a6cc
commit ea01130107
2 changed files with 4 additions and 1 deletions

View File

@@ -17,5 +17,6 @@
parport_pc
lp
button
# End /etc/sysconfig/modules

View File

@@ -473,7 +473,9 @@ sub updatehdddata
}
elsif ( index($hdd_output, "$disk") != -1 )
{
$hdd_output =~ /.*:.*:\s*(\d+).*\s/;
my @temp = split(/:/,$hdd_output);
$temp[2] =~ s/\D//gi;
$temp = $temp[2];
$temp = $1;
}
else