summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2005-01-15 21:22:19 +0000
committerTim Yamin <plasmaroo@gentoo.org>2005-01-15 21:22:19 +0000
commit367b8c4185423b8652f5204ee2f54cce246164a6 (patch)
tree4f4dfd797c27534b3755235a8a8cb87ce064122e /sys-apps/lm-sensors
parentLOADMODULES >> NOLOADMODULES in the init script; bug #78068. (Manifest recommit) (diff)
downloadgentoo-2-367b8c4185423b8652f5204ee2f54cce246164a6.tar.gz
gentoo-2-367b8c4185423b8652f5204ee2f54cce246164a6.tar.bz2
gentoo-2-367b8c4185423b8652f5204ee2f54cce246164a6.zip
Fixing typo; '-n' should be '-z'.
Diffstat (limited to 'sys-apps/lm-sensors')
-rw-r--r--sys-apps/lm-sensors/files/rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-apps/lm-sensors/files/rc b/sys-apps/lm-sensors/files/rc
index c05a2cf45d52..a8baed5c2539 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 [ -n "${NOLOADMODULES}" ] ; then
+ if [ -z "${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 [ -n "${NOLOADMODULES}" ] ; then
+ if [ -z "${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