Bug 221829

Summary: "cpuspeed" start-up script aborts because of syntex error
Product: [Fedora] Fedora Reporter: Joachim Frieben <jfrieben>
Component: cpuspeedAssignee: Jarod Wilson <jarod>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-01-08 15:58:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joachim Frieben 2007-01-08 12:53:29 UTC
Description of problem:
The "cpuspeed" start-up script aborts upon execution due to a
syntax error:

  "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):
cpuspeed-1.2.1-1.47.fc7

How reproducible:
Always

Steps to Reproduce:
1. Boot current "rawhide"
2. Watch "cpuspeed" start-up message.
  
Actual results:
"cpuspeed" fails to launch.

Expected results:
"cpuspeed" launches and takes control of the cpu speed.

Additional info:
The next output line indicates a further problem which maybe triggered
by the former:

  "Error: The '-p' option must be followed by 2 integers"

Comment 1 Jarod Wilson 2007-01-08 15:58:39 UTC
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...