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:
@@ -5354,12 +5354,10 @@ sub main
|
|||||||
|
|
||||||
EOT
|
EOT
|
||||||
my $i = 0;
|
my $i = 0;
|
||||||
my $sysconfig = "";
|
|
||||||
foreach (@{$bus_modules}, @{$hwmon_modules}) {
|
foreach (@{$bus_modules}, @{$hwmon_modules}) {
|
||||||
$sysconfig .= "MODULE_$i=$_\n";
|
print SYSCONFIG "MODULE_$i=$_\n";
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
print SYSCONFIG $sysconfig;
|
|
||||||
close(SYSCONFIG);
|
close(SYSCONFIG);
|
||||||
|
|
||||||
print "Copy prog/init/lm_sensors.init to /etc/init.d/lm_sensors\n".
|
print "Copy prog/init/lm_sensors.init to /etc/init.d/lm_sensors\n".
|
||||||
|
Reference in New Issue
Block a user