summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2005-01-15 21:20:38 +0000
committerTim Yamin <plasmaroo@gentoo.org>2005-01-15 21:20:38 +0000
commitbe15dc72afbaa6fdf7c2d84ec0acbc44fbb593af (patch)
tree1b41d0b3ed89fd0e46eff4bcc5e6b6ef922a3010 /sys-apps/lm-sensors
parentAdded support for CONFIG_CHECK=@OPTION:module which removes modules from MODU... (diff)
downloadgentoo-2-be15dc72afbaa6fdf7c2d84ec0acbc44fbb593af.tar.gz
gentoo-2-be15dc72afbaa6fdf7c2d84ec0acbc44fbb593af.tar.bz2
gentoo-2-be15dc72afbaa6fdf7c2d84ec0acbc44fbb593af.zip
LOADMODULES >> NOLOADMODULES in the init script; bug #78068.
Diffstat (limited to 'sys-apps/lm-sensors')
-rw-r--r--sys-apps/lm-sensors/ChangeLog5
-rw-r--r--sys-apps/lm-sensors/files/rc4
2 files changed, 6 insertions, 3 deletions
diff --git a/sys-apps/lm-sensors/ChangeLog b/sys-apps/lm-sensors/ChangeLog
index 55bb1a1ae4ac..8de08580359e 100644
--- a/sys-apps/lm-sensors/ChangeLog
+++ b/sys-apps/lm-sensors/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/lm-sensors
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm-sensors/ChangeLog,v 1.45 2005/01/10 18:21:47 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm-sensors/ChangeLog,v 1.46 2005/01/15 21:20:38 plasmaroo Exp $
+
+ 15 Jan 2005; <plasmaroo@gentoo.org> files/rc:
+ LOADMODULES >> NOLOADMODULES in the init script; bug #78068.
10 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> lm-sensors-2.9.0.ebuild:
added ~amd64 to KEYWORDS. fixes bug #77276.
diff --git a/sys-apps/lm-sensors/files/rc b/sys-apps/lm-sensors/files/rc
index f2c22ef1813f..c05a2cf45d52 100644
--- a/sys-apps/lm-sensors/files/rc
+++ b/sys-apps/lm-sensors/files/rc
@@ -8,7 +8,7 @@ start() {
. /etc/conf.d/lm_sensors
- if [ "$LOADMODULES" == "yes" ] ; then
+ if [ -n "${NOLOADMODULES}" ] ; then
if [ -z "${MODULE_0}" ] ; then
eerror "MODULE_0 is not set in /etc/conf.d/lm_sensors, try running sensors-detect"
return 1
@@ -73,7 +73,7 @@ stop() {
. /etc/conf.d/lm_sensors
- if [ "$LOADMODULES" == "yes" ] ; then
+ if [ -n "${NOLOADMODULES}" ] ; then
if [ -z "${MODULE_0}" ] ; then
eerror "MODULE_0 is not set in /etc/conf.d/lm_sensors, try running sensors-detect"
return 1