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
commit4a762c1138fb6aac829eb8f183b7a9b0e2aa53f9 (patch)
tree8e659a829865450f48b7f863fa894c6990bb198b /sys-apps/lm-sensors
parentVersion Bump. (diff)
downloadhistorical-4a762c1138fb6aac829eb8f183b7a9b0e2aa53f9.tar.gz
historical-4a762c1138fb6aac829eb8f183b7a9b0e2aa53f9.tar.bz2
historical-4a762c1138fb6aac829eb8f183b7a9b0e2aa53f9.zip
allow for module parameters #33804
Diffstat (limited to 'sys-apps/lm-sensors')
-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