Changeset 5436
- Timestamp:
- 11/27/08 15:54:28 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/branches/lm-sensors-3.0.0/prog/detect/sensors-detect
r5435 r5436 5207 5207 sub generate_modprobes 5208 5208 { 5209 my ($chip, $detection, $nr, $i, @optionlist, @probelist,$driver, $isa, $adap);5209 my ($chip, $detection, $nr, $i, @optionlist, $driver, $isa, $adap); 5210 5210 my $ipmi = 0; 5211 5211 my $modprobes = ""; … … 5309 5309 } 5310 5310 5311 next if not (@probelist or @optionlist);5311 next if not @optionlist; 5312 5312 $configfile = "# hwmon module options\n" unless defined $configfile; 5313 5313 $configfile .= "options $chip->{driver}"; … … 5317 5317 $configfile .= sprintf(",%d,0x%02x", shift @optionlist, shift @optionlist) 5318 5318 while @optionlist; 5319 $configfile .= sprintf(" probe=%d,0x%02x", shift @probelist,5320 shift @probelist)5321 if @probelist;5322 $configfile .= sprintf(",%d,0x%02x", shift @probelist, shift @probelist)5323 while @probelist;5324 5319 $configfile .= "\n"; 5325 5320 }
