rpms/lm_sensors/devel lm_sensors-3.0.1-lsb-retcodes.patch, 1.1, 1.2 lm_sensors.spec, 1.62, 1.63

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Wed Mar 12 20:52:44 UTC 2008


Author: jwrdegoede

Update of /cvs/extras/rpms/lm_sensors/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27796

Modified Files:
	lm_sensors-3.0.1-lsb-retcodes.patch lm_sensors.spec 
Log Message:
* Wed Mar 12 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 3.0.1-4
- One (last) minor cosmetical fix to the initscript


lm_sensors-3.0.1-lsb-retcodes.patch:

Index: lm_sensors-3.0.1-lsb-retcodes.patch
===================================================================
RCS file: /cvs/extras/rpms/lm_sensors/devel/lm_sensors-3.0.1-lsb-retcodes.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- lm_sensors-3.0.1-lsb-retcodes.patch	26 Feb 2008 14:09:27 -0000	1.1
+++ lm_sensors-3.0.1-lsb-retcodes.patch	12 Mar 2008 20:52:38 -0000	1.2
@@ -52,7 +52,7 @@
 +		# Don't bother if /proc/sensors still doesn't exist, kernel doesn't have
 +		# support for sensors.
 +		if ! [ -e /proc/sys/dev/sensors ]; then
-+			echo -n "Starting $prog: kernel does not have sensors support"
++			echo -n "$1 $prog: kernel does not have sensors support"
 +			echo_failure
 +			echo
 +			exit 5
@@ -64,7 +64,7 @@
 +
 +	CONFIG=/etc/sysconfig/lm_sensors
 +	if ! [ -r "$CONFIG" ] || ! grep '^MODULE_' $CONFIG >/dev/null 2>&1; then
-+		echo -n "Starting $prog: not configured, run sensors-detect"
++		echo -n "$1 $prog: not configured, run sensors-detect"
 +		echo_warning
 +		echo
 +		exit 6
@@ -75,7 +75,7 @@
 +}
 +
  start() {
-+	check_sensors
++	check_sensors "Starting"
 +
  	echo -n "Starting $prog: loading module "
  
@@ -84,7 +84,7 @@
  }
  
  stop() {
-+	check_sensors
++	check_sensors "Stopping"
 +
  	echo -n "Stopping $prog: "
  


Index: lm_sensors.spec
===================================================================
RCS file: /cvs/extras/rpms/lm_sensors/devel/lm_sensors.spec,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- lm_sensors.spec	26 Feb 2008 14:09:27 -0000	1.62
+++ lm_sensors.spec	12 Mar 2008 20:52:38 -0000	1.63
@@ -1,6 +1,6 @@
 Name: lm_sensors
 Version: 3.0.1
-Release: 3%{?dist}
+Release: 4%{?dist}
 URL: http://www.lm-sensors.org/
 Source: http://dl.lm-sensors.org/lm-sensors/releases/%{name}-%{version}.tar.bz2
 Source1: lm_sensors.sysconfig
@@ -167,6 +167,9 @@
 
 
 %changelog
+* Wed Mar 12 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 3.0.1-4
+- One (last) minor cosmetical fix to the initscript
+
 * Tue Feb 26 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 3.0.1-3
 - Some improvements to the lsb-retcodes and service-default-off patches
   from a review by upstream




More information about the fedora-extras-commits mailing list