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
This commit is contained in:
Jean Delvare committed 2013-01-16 18:11:30 +00:00
1 parent 319f9b8f68
commit 6734fae250
2 files changed
+1 -13

No files matched your search

+1
View File
@@ -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
-13
View File
@@ -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" &&