Error during shutdown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 16 July 2003 12:40 pm, you wrote:
> > I installed lm_sensors and gkrellm onto my system and it works fine.
> > However when I shut my system down I get a error message.  It's gone
> > pretty quick but this is what I could make out after several restarts.
> >  /etc/init.d/lm_sensors
> > line 73  [: -ge: unary operator expected.  I have uninstalled and
> > reinstalled the lm_sensors package to see if it was just a glitch.  I
> > even deleted the files a re-ran sensors-detect.  It still does it.
> > Any help would be appreciated.  I have attached a copy of the file.
>
> This script comes with your Mandrake 9.1 distribution, so the error is
> theirs, not ours. However, I think I know how to fix it. Go to line 72
> and replace
>   i=`expr $Pmodules`
> with
>   i=$modules
>
> Please try this and tell me how it goes.

I replaced the line as you said.  No more error and a nice clean shutdown.  
That explained a lot with it being a script error.  I didn't get the error 
the first time I installed because I installed from a tar.gz package, that 
was downloaded, and it has no error in the script.
Should I e-mail Mandrake about the boo boo?  I may install next time from the 
downloaded file.  Not as easy as a rpm in Mandrake but your copy works 
better. :-)

Thanks much for your help.  I like watching the temps.  103 degrees so far at 
99% processing.  Cool huh?

dalek at exceedtech.net



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux