mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-01 13:20:30 +00:00
start sysconfig module numbering at 0
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1496 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
fb2861ffec
commit
d2f2698de1
2 files changed
+3
-2
No files matched your search
@@ -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.
|
||||
|
||||
@@ -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 //;
|
||||
|
||||
Reference in new issue
Block a user