diff --git a/CHANGES b/CHANGES index 36763610..59aa9954 100644 --- a/CHANGES +++ b/CHANGES @@ -40,7 +40,8 @@ ask CVS about it: Program sensors: Add /usr/local/etc to config file path; fix -c and -u flags Program sensors-detect: recognize Asus "ASB100 Bach" as AS99127F; - refuse to run on IBM systems + refuse to run on IBM systems; + fix sysconfig module numbering 2.6.4 (20020719) NOTE: Requires i2c-2.6.1 or newer, or kernel 2.4.13 or newer. diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 8582b329..5def0d49 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -3096,7 +3096,7 @@ EOT print SYSCONFIG "# Generated by sensors-detect on " . scalar localtime() . "\n"; my @modules = grep /^modprobe /, split "\n", $modprobes; - my $i = 1; + my $i = 0; my $sysconfig = ""; foreach (@modules) { s/^modprobe //;