ALT Linux Bugzilla
– Attachment 382 Details for
Bug 3967
Load all possible modules
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
patch
lm_sensors.patch (text/plain), 529 bytes, created by
ed
on 2004-04-13 18:36:13 MSD
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
ed
Created:
2004-04-13 18:36:13 MSD
Size:
529 bytes
patch
obsolete
>--- /etc/init.d/lm_sensors.orig 2004-04-13 06:05:22 +0400 >+++ /etc/init.d/lm_sensors 2004-04-13 06:15:44 +0400 >@@ -82,9 +82,13 @@ > while [ $RETVAL -eq 0 ]; do > module="`eval echo '$'MODULE_$i`" > [ -n "$module" ] || break >- echo -n "$module " >- /sbin/modprobe $module &>/dev/null >- RETVAL=$? >+ if modinfo -n $module 2>&1 | grep -qv 'no module by that name found' ; then >+ echo -n "$module " >+ #/sbin/modprobe $module &>/dev/null >+ RETVAL=$? >+ else >+ echo -n "$module(not found) " >+ fi > i=$(($i + 1)) > done >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 3967
: 382