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" &&