From a3cedd6b7eff043f30b585b51ec770bd5a4d964f Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Wed, 12 Mar 2008 20:52:38 +0000 Subject: [PATCH] - One (last) minor cosmetical fix to the initscript --- lm_sensors-3.0.1-lsb-retcodes.patch | 8 ++++---- lm_sensors.spec | 5 ++++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/lm_sensors-3.0.1-lsb-retcodes.patch b/lm_sensors-3.0.1-lsb-retcodes.patch index 32e154a..3a57950 100644 --- a/lm_sensors-3.0.1-lsb-retcodes.patch +++ b/lm_sensors-3.0.1-lsb-retcodes.patch @@ -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: " diff --git a/lm_sensors.spec b/lm_sensors.spec index fe3505b..1e5c912 100644 --- a/lm_sensors.spec +++ b/lm_sensors.spec @@ -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 @@ fi %changelog +* Wed Mar 12 2008 Hans de Goede 3.0.1-4 +- One (last) minor cosmetical fix to the initscript + * Tue Feb 26 2008 Hans de Goede 3.0.1-3 - Some improvements to the lsb-retcodes and service-default-off patches from a review by upstream