Bashisms in /etc/init.d/lm_sensors cause Line 26 of /etc/init.d/lm_sensors if [ ${?} == 0 ]; then should be if [ ${?} = 0 ]; then Line 59 of /etc/init.d/lm_sensors i=$((i+1)) should be i=$((${i}+1))
Thanks Mike, I've fixed them locally and I'm going to commit them in a minute.
Woops, noticed another. Line 92 of /etc/init.d/lm_sensors i=$((i-1)) should be i=$(($i-1))
(In reply to comment #2) > Woops, noticed another. > > Line 92 of /etc/init.d/lm_sensors > i=$((i-1)) > should be > i=$(($i-1)) 'k, fixed the remaining ones too.