On Monday June 23 2003 05:10 pm, John Richard Smith wrote:
> Tom Brinkman wrote:
> >On Monday June 23 2003 02:48 pm, John Richard Smith wrote:
> >>I have lm_sensors-2.7.0-2mdk installed
> >>
> >>Every time I shut down I get error message,
> >>/etc/rc0.d/k971_ ?    line 73  error, too few arguments.
> >>
> >>here is the section.
> >>
> >>        modules=`grep \^MODULE_ $CONFIG | wc -l`
> >>        i=`expr$Pmodules`
> >>        while [ $i -ge 0 ] ; do                           
> >> <line 73 > module=`eval echo '$'MODULE_$i`
> >>        /sbin/modprobe -r $module &>/dev/null
> >>        i=`expr $i - 1`
> >>    done
> >>
> >>Can anyone help here ?
> >>
> >>I cannot understand it let alone do something with it
> >>
> >>John
> >
> >   It's NBFD, just ignore it. Or you can search the cooker
> > archive an find out which char (typo) to remove from line 73 to
> > quiet the error mesg. I don't bother, I just ignore it.  BTW,
> > it's an lm-sensors bug, not Mandrake's.  I believe, IIRC, it as
> > simple as removing the 'P' in   i=`expr$Pmodules` an maybe
> > add'n a space, ie, i=`expr $modules`
>
> Thanks Tom,
>
> OK, will do, I can safely ignor it.
>
> but if anyone out there happens to know what to amend without me
> having to dig around for it so much the better.
>
> John

   I thought I did John. So what'a hey, I searched the archive for 
ya partner, 
http://marc.theaimsgroup.com/?l=mandrake-cooker&m=105465216621005&w=2

   If you don't wanna click on the link, then  <excerpt from>
/etc/rc.d/init.d/lm_sensors    (<---- it's just a script, edit as 
root and...
..................
Change to 
72:  i=`expr $modules`
..................

   Damn! for once my memory was right, an no typo's either, right to 
the letter !! I'm pattin myself on the back, ol'memory ain't what 
it ust'a be, an' I need some victories now'n then ;>>

   Line number might vary a touch by what version you have, but 
that's the fix.    Hell, now you've got me motivated to do it for 
myself on this box ;)  Naaahh, heck by electra damn texas.. no, 
tomorrow's cooker update of lm_sensors'll probly just break it 
again anyhow. NBFD anyhow ;)
-- 
    Tom Brinkman                  Corpus Christi, Texas


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to