Red Hat Bugzilla – Bug 221829
"cpuspeed" start-up script aborts because of syntex error
Last modified: 2007-11-30 17:11:52 EST
Description of problem:
The "cpuspeed" start-up script aborts upon execution due to a
"Starting cpuspeed: ./cpuspeed: line 75: let: UP_THRESHOLD=100-: syntax \
error: operand expected (error token is "-")
./cpuspeed: line 80: let: DOWN_THRESHOLD=100-: syntax error: operand \
expected (error token is "-")"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Boot current "rawhide"
2. Watch "cpuspeed" start-up message.
"cpuspeed" fails to launch.
"cpuspeed" launches and takes control of the cpu speed.
The next output line indicates a further problem which maybe triggered
by the former:
"Error: The '-p' option must be followed by 2 integers"
Whoops, I accidentally got the if/else conditions backwards in that build...
I've pushed a corrected version through the build system, should show up on
mirrors in due time...