diff --git a/prog/init/lm_sensors.init b/prog/init/lm_sensors.init index d546b7b2..564dd853 100755 --- a/prog/init/lm_sensors.init +++ b/prog/init/lm_sensors.init @@ -67,7 +67,7 @@ stop() { test -r "$CONFIG" && . "$CONFIG" modules=`grep \^MODULE_ $CONFIG | wc -l` - i=$modules + i=`expr $modules` while [ $i -ge 0 ] ; do module=`eval echo '$'MODULE_$i` /sbin/modprobe -r $module &>/dev/null