[prev in list] [next in list] [prev in thread] [next in thread]
List: mandrake-cooker
Subject: Re: [Cooker] lm_sensors script module count off by one
From: Robby Stephenson <robby () periapsis ! org>
Date: 2002-09-06 1:59:07
[Download RAW message or body]
Yeah, I reported the problem a couple days ago. I like your patch better
than mine, though. Don't forget to patch both the start and stop loops.
http://www.mandrake.com/en/archives/cooker/2002-09/msg00122.php
AFAIK, it's not been fixed yet and I've not seen any response from Mandrake.
I'd like to chalk it up to the mailserver problems, but since the email is
in the archives, I think it made it through. So I dunno, the first bug I
reported hasn't been commented on either, so I'm about to give up on this.
Although, the one other small bug I found (in gkrellm icons) was promptly
fixed by Vincent.
Robby
On Thursday 05 September 2002 02:54, Gerard Patel wrote:
> In RC1, the sensors start script count modules from 0 to n-1; the
> lm_sensors file generated by sensors-detect counts from
> MODULE_1 to MODULE_N.
>
> Gerard
>
> --- sensors.orig 2002-08-23 10:48:23.000000000 +0200
> +++ sensors 2002-09-05 11:51:39.000000000 +0200
> @@ -42,8 +42,8 @@
> test -r "$CONFIG" && . "$CONFIG"
>
> modules=`grep \^MODULE_ $CONFIG | wc -l`
> - i=0
> - while [ $i -lt $modules ] ; do
> + i=1
> + while [ $i -le $modules ] ; do
> module=`eval echo '$'MODULE_$i`
> /sbin/modprobe $module &>/dev/null
> i=`expr $i + 1`
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic