mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
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:
@@ -17,5 +17,6 @@
|
||||
|
||||
parport_pc
|
||||
lp
|
||||
button
|
||||
|
||||
# End /etc/sysconfig/modules
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user