Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33804 - lm_sensors: Allow for module options upon module load
Summary: lm_sensors: Allow for module options upon module load
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-19 02:05 UTC by Anno v. Heimburg
Modified: 2003-11-19 16:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
the patch i announced above (mod_args.diff,428 bytes, patch)
2003-11-19 02:06 UTC, Anno v. Heimburg
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anno v. Heimburg 2003-11-19 02:05:07 UTC
The current lm_sensors start script doesn't allow for options to the sensor modules. However, it is sometimes necessary to pass options upon module load.

I will upload a patch to the lm_sensor start script that allows a /etc/conf.d/lm_sensors file of the format

MODULE_0=whatever
MODULE_0="args for whatever"
MODULE_1=foo
MODULE_2=bar

It's a 2-liner, but I think it makes configuring lm_sensors easier for those who need to pass module options. Questions, comments, constructive criticism welcome

Anno
Comment 1 Anno v. Heimburg 2003-11-19 02:06:09 UTC
Created attachment 20939 [details, diff]
the patch i announced above
Comment 2 Anno v. Heimburg 2003-11-19 02:24:40 UTC
Uuhh... of course, I meant

MODULE_0_ARGS="args for whatever"

Stupid me.
Comment 3 SpanKY gentoo-dev 2003-11-19 16:22:37 UTC
added to cvs, thanks :)