From 5ea0c0458cf2aed18befd569d59bb4cdbab40f00 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 20 Nov 2003 00:22:31 +0000 Subject: allow for module parameters #33804 --- sys-apps/lm-sensors/files/rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys-apps') 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 -- cgit v1.2.3-65-gdbad