Hi,

I'm not quite sure which information is missing. I use the Hardy beta, but the
bug may affect earlier versions of the package as well.

The /etc/init.d/loadcpufreq script uses /bin/sh as the interpreter, which is a
link to the dash shell in a default Ubuntu installation. The POSIX bourne
shell, which this script should comply to, does not support the '==' for
comparisons (bash does). If you happen to have a CPU with a vendor ID
of 'CentaurHauls' like I do (I got a VIA C3-2), the interpreter will hit line
130 of /etc/init.d/loadcpufreq and stumble across the unknown ==
operator. The bourne shell operator in this case would be either '-eq' for
an arithmetic comparison, or a single '=' for a string comparison, so
changing the line as I suggested in my original message will make the
script work on all POSIX shell compliant shells.

You might be interested in
https://wiki.ubuntu.com/DashAsBinSh

Best,
-Mike

-- 
loadcpufreq is not (da)sh-compliant
https://bugs.launchpad.net/bugs/208133
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to