From 6734fae2508d1a790e342dc9e52c8815af0a0f12 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Wed, 16 Jan 2013 18:11:30 +0000 Subject: [PATCH] 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. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6115 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 1 + prog/detect/sensors-detect | 13 ------------- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/CHANGES b/CHANGES index b6698039..1aababa7 100644 --- a/CHANGES +++ b/CHANGES @@ -7,6 +7,7 @@ SVN HEAD sensors-detect: Add detection of AMD family 16h power sensors Map IT8771E, IT8772E, IT8782F and IT8783F to it87 Use /sys/module instead of /proc/modules where available + Drop legacy sysconfig configuration file syntax 3.3.3 "Happy Birthday Sophie" (2012-11-06) documentation: Update fan-divisors, fan divisors are optional diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index fa13c5de..50eab065 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -6695,19 +6695,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" &&