Changeset 4785

Show
Ignore:
Timestamp:
09/06/07 11:01:20 (6 years ago)
Author:
khali
Message:

Stop mentioning the alias trick for i2c-dev, it no longer works and it
doesn't have anything to do with sensors anyway.

Files:
1 modified

Legend:

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

    r4739 r4785  
    54505450  my $ipmi = 0; 
    54515451  my $modprobes = ""; 
    5452   my $configfile = ""; 
    5453  
    5454   # These are always needed 
    5455   $configfile .= "# I2C module options\n"; 
    5456   $configfile .= "alias char-major-89 i2c-dev\n"; 
     5452  my $configfile; 
    54575453 
    54585454  # Collect all adapters used 
     
    55655561 
    55665562    next if not (@probelist or @optionlist); 
     5563    $configfile = "# hwmon module options\n" unless defined $configfile; 
    55675564    $configfile .= "options $chip->{driver}"; 
    55685565    $configfile .= sprintf " ignore=%d,0x%02x",shift @optionlist,  
     
    57775774  print "\n"; 
    57785775  my ($modprobes, $configfile) = generate_modprobes 1;  # 1 == prefer ISA 
    5779   print "To make the sensors modules behave correctly, add these lines to\n". 
    5780         "$modules_conf:\n\n"; 
    5781   print "#----cut here----\n". 
    5782         $configfile. 
    5783         "#----cut here----\n\n"; 
     5776  if (defined $configfile) { 
     5777    print "To make the sensors modules behave correctly, add these lines to\n". 
     5778          "$modules_conf:\n\n"; 
     5779    print "#----cut here----\n". 
     5780          $configfile. 
     5781          "#----cut here----\n\n"; 
     5782  } 
    57845783 
    57855784  print "To load everything that is needed, add this to some /etc/rc* file:\n\n";