diff options
author | Tim Yamin <plasmaroo@gentoo.org> | 2004-07-13 12:27:21 +0000 |
---|---|---|
committer | Tim Yamin <plasmaroo@gentoo.org> | 2004-07-13 12:27:21 +0000 |
commit | fee18d21f6beaf59fb25d80e2a25afa5221dde24 (patch) | |
tree | f83a0ec4a2c6f18db026a5fa7eca5dc3e3a99edf /sys-apps/lm-sensors | |
parent | exit 0 >> return for intended behaviour on < Portage 2.0.51 versions. (diff) | |
download | historical-fee18d21f6beaf59fb25d80e2a25afa5221dde24.tar.gz historical-fee18d21f6beaf59fb25d80e2a25afa5221dde24.tar.bz2 historical-fee18d21f6beaf59fb25d80e2a25afa5221dde24.zip |
Added a patch to the rc script to run sensors -s at start time. Closes bug #25964.
Diffstat (limited to 'sys-apps/lm-sensors')
-rw-r--r-- | sys-apps/lm-sensors/ChangeLog | 6 | ||||
-rw-r--r-- | sys-apps/lm-sensors/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/lm-sensors/files/rc | 10 |
3 files changed, 17 insertions, 3 deletions
diff --git a/sys-apps/lm-sensors/ChangeLog b/sys-apps/lm-sensors/ChangeLog index bc0a73dc38a1..6b904e62ba7f 100644 --- a/sys-apps/lm-sensors/ChangeLog +++ b/sys-apps/lm-sensors/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/lm-sensors # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm-sensors/ChangeLog,v 1.32 2004/07/12 15:27:53 plasmaroo Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm-sensors/ChangeLog,v 1.33 2004/07/13 12:27:21 plasmaroo Exp $ + + 13 Jul 2004; <plasmaroo@gentoo.org> files/rc: + Added a patch to the rc script to run sensors -s at start time. Closes bug + #25964. 12 Jul 2004; <plasmaroo@gentoo.org> lm-sensors-2.6.5.ebuild, +files/lm-sensors-2.6.5-hk-longstring.patch: diff --git a/sys-apps/lm-sensors/Manifest b/sys-apps/lm-sensors/Manifest index 786f9fc0714b..9b10051d0722 100644 --- a/sys-apps/lm-sensors/Manifest +++ b/sys-apps/lm-sensors/Manifest @@ -1,4 +1,4 @@ -MD5 0f5355771a2add1f1ec5dc77a64462ca ChangeLog 8741 +MD5 f5a265def23a8bec5c299a87258c3cca ChangeLog 8877 MD5 9acdfaa4153bc29f15206b6c1ffba965 lm-sensors-2.6.5.ebuild 2134 MD5 674a8ac3695e57f3a9b0035be7340ab4 lm-sensors-2.8.3.ebuild 4732 MD5 37443e54165d5bcdaa8550d52edafa98 metadata.xml 228 @@ -25,4 +25,4 @@ MD5 2634b37f6b5e364df64f34d79506ca51 files/lm-sensors-2.8.2-sensors-detect-gento MD5 d8c62d91275ce75f12c70d068db57a97 files/rc_lm_sensors 621 MD5 4c60dc8246e548fab5b56c66f6d6a020 files/lm-sensors-2.6.5-hk-longstring.patch 1475 MD5 456d41bfdda2f5df2208f6c4a232a6c4 files/digest-lm-sensors-2.8.5 68 -MD5 2217cbce56dd9da8bbe4188a24c9412f files/rc 2006 +MD5 e33454a04d8de948781864e289126772 files/rc 2180 diff --git a/sys-apps/lm-sensors/files/rc b/sys-apps/lm-sensors/files/rc index 46be26a68bd8..095b79fb10be 100644 --- a/sys-apps/lm-sensors/files/rc +++ b/sys-apps/lm-sensors/files/rc @@ -50,6 +50,16 @@ start() { eend $? i=$((i+1)) done + + if ! [ -f /etc/sensors.conf ] ; then + eerror "/etc/sensors.conf does not exist!" + return 1 + fi + + ebegin "Initializing sensors" + /usr/bin/sensors -s &>/dev/null + eend $? + return 0 } |