summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-11-20 00:22:31 +0000
committerMike Frysinger <vapier@gentoo.org>2003-11-20 00:22:31 +0000
commit5ea0c0458cf2aed18befd569d59bb4cdbab40f00 (patch)
tree7bbe3b93f24bf9ff42b17044af072ddf97c174aa
parentVersion Bump. (diff)
downloadgentoo-2-5ea0c0458cf2aed18befd569d59bb4cdbab40f00.tar.gz
gentoo-2-5ea0c0458cf2aed18befd569d59bb4cdbab40f00.tar.bz2
gentoo-2-5ea0c0458cf2aed18befd569d59bb4cdbab40f00.zip
allow for module parameters #33804
-rw-r--r--sys-apps/lm-sensors/files/rc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-apps/lm-sensors/files/rc b/sys-apps/lm-sensors/files/rc
index 0f71222c685d..1b5d8cc3c2d0 100644
--- a/sys-apps/lm-sensors/files/rc
+++ b/sys-apps/lm-sensors/files/rc
@@ -25,11 +25,12 @@ start() {
i=0
while true; do
module=`eval echo '$'MODULE_${i}`
+ module_args=`eval echo '$'MODULE_${i}_ARGS`
if [ -z "${module}" ] ; then
break
fi
ebegin " Loading ${module}"
- modprobe ${module} &>/dev/null
+ modprobe ${module} ${module_args} &>/dev/null
eend $?
i=$((i+1))
done