2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 14:25:39 +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:
Mark D. Studebaker
2002-08-18 02:46:40 +00:00
parent fb2861ffec
commit d2f2698de1
2 changed files with 3 additions and 2 deletions

View File

@@ -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 //;