Changeset 2907

Show
Ignore:
Timestamp:
02/14/05 00:04:54 (8 years ago)
Author:
mds
Message:

add i2c-ipmi to modprobe list if bmcsensors is on the list

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/prog/detect/sensors-detect

    r2906 r2907  
    47444744 
    47454745  my ($chip,$detection,$nr,$i,@optionlist,@probelist,$driver,$isa,$adap); 
     4746  my $bmcsensors = 0; 
    47464747  my @adapters; 
    47474748  my $modprobes = ""; 
     
    47854786           $isa=1; 
    47864787      } 
     4788      if ($chip->{driver} eq "bmcsensors") { 
     4789           $bmcsensors=1; 
     4790      } 
    47874791    } 
    47884792  } 
     
    48054809  } 
    48064810  $modprobes .= "modprobe i2c-isa\n" if ($isa); 
     4811  if ($bmcsensors) { 
     4812    $modprobes .= "# You must also install and load the IPMI modules\n"; 
     4813    $modprobes .= "modprobe i2c-ipmi\n"; 
     4814  } 
    48074815 
    48084816  # Now determine the chip probe lines