2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-30 22:05:11 +00:00

Drop a needless variable.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5587 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare
2009-01-12 12:30:12 +00:00
parent c5503d2458
commit e613ec67d8

View File

@@ -5354,12 +5354,10 @@ sub main
EOT
my $i = 0;
my $sysconfig = "";
foreach (@{$bus_modules}, @{$hwmon_modules}) {
$sysconfig .= "MODULE_$i=$_\n";
print SYSCONFIG "MODULE_$i=$_\n";
$i++;
}
print SYSCONFIG $sysconfig;
close(SYSCONFIG);
print "Copy prog/init/lm_sensors.init to /etc/init.d/lm_sensors\n".