sensors/lm_sensors-3.0.0-sysconfig_metadata.patch
Jean Delvare 270bf84025 - Update to lm_sensors 3.2.0
* The libsensors library is now released under the LGPL license
  * Minor fixes to libsensors, pwmconfig, sensors and sensord
  * New chips known by sensors-detect, as usual
- Don't build the static library in the first place, so we don't
  have to delete it later.

OBS-URL: https://build.opensuse.org/package/show/Base:System/sensors?expand=0&rev=26
2010-10-11 06:50:04 +00:00

16 lines
600 B
Diff

--- lm_sensors-3.1.1.orig/prog/detect/sensors-detect
+++ lm_sensors-3.1.1/prog/detect/sensors-detect
@@ -6015,6 +6015,12 @@ sub write_config
or die "Sorry, can't create /etc/sysconfig/lm_sensors ($!)";
print SYSCONFIG "# Generated by sensors-detect on " . scalar localtime() . "\n";
print SYSCONFIG <<'EOT';
+## Path: Hardware/Sensors
+## Description: Defines the modules to used
+## Type: string
+## ServiceRestart: lm_sensors
+## Default: ""
+#
# This file is sourced by /etc/init.d/lm_sensors and defines the modules to
# be loaded/unloaded.
#