[PATCH] sensors-detect: Drop legacy sysconfig configuration file syntax

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The new sysconfig configuration file syntax is in place since December
2009, I think we can safely remove the old one, nobody should be using
it any longer.
---
 prog/detect/sensors-detect |   13 -------------
 1 file changed, 13 deletions(-)

--- lm-sensors.orig/prog/detect/sensors-detect	2012-11-10 14:32:12.000000000 +0100
+++ lm-sensors/prog/detect/sensors-detect	2012-11-12 09:42:13.230111948 +0100
@@ -6687,19 +6687,6 @@ EOT
 		print SYSCONFIG "BUS_MODULES=\"", join(" ", @{$bus_modules}), "\"\n"
 			if @{$bus_modules};
 		print SYSCONFIG "HWMON_MODULES=\"", join(" ", @{$hwmon_modules}), "\"\n";
-
-		print SYSCONFIG <<'EOT';
-
-# For compatibility reasons, modules are also listed individually as variables
-#    MODULE_0, MODULE_1, MODULE_2, etc.
-# You should use BUS_MODULES and HWMON_MODULES instead if possible.
-
-EOT
-		my $i = 0;
-		foreach (@{$bus_modules}, @{$hwmon_modules}) {
-			print SYSCONFIG "MODULE_$i=$_\n";
-			$i++;
-		}
 		close(SYSCONFIG);
 
 		if (-x "/bin/systemctl" && -d "/lib/systemd/system" &&


-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux