Changeset 4785
- Timestamp:
- 09/06/07 11:01:20 (6 years ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/prog/detect/sensors-detect (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/prog/detect/sensors-detect
r4739 r4785 5450 5450 my $ipmi = 0; 5451 5451 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; 5457 5453 5458 5454 # Collect all adapters used … … 5565 5561 5566 5562 next if not (@probelist or @optionlist); 5563 $configfile = "# hwmon module options\n" unless defined $configfile; 5567 5564 $configfile .= "options $chip->{driver}"; 5568 5565 $configfile .= sprintf " ignore=%d,0x%02x",shift @optionlist, … … 5777 5774 print "\n"; 5778 5775 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 } 5784 5783 5785 5784 print "To load everything that is needed, add this to some /etc/rc* file:\n\n";
