Error during shutdown

Jean Delvare khali at
Wed Jul 16 14:40:29 CEST 2003

> 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`

Please try this and tell me how it goes.

Jean Delvare

More information about the lm-sensors mailing list