Administrators Leon Posted November 13, 2012 Administrators Share Posted November 13, 2012 Actually.. tested on ubuntu 10.x+12.x and CentOS .. get the same error on both. Would you mind: 1. Send me (or attach) the version of the script you were using.. thinking the one you attached to the post might be corrupt 2. What linux distro did you use ? Link to comment Share on other sites More sharing options...
Administrators Leon Posted November 13, 2012 Administrators Share Posted November 13, 2012 Something is weird with that script.... root@x:/home/lsb# ./ssdtPRGen.sh ./ssdtPRGen.sh: 17: ./ssdtPRGen.sh: Syntax error: "(" unexpected .. running it under bash .. root@x:/home/lsb# bash ssdtPRGen.sh 17 2500 sysctl: cannot stat /proc/sys/hw/logicalcpu: No such file or directory ssdtPRGen.sh: line 264: let: logicalCPUs=: syntax error: operand expected (error token is "=") sysctl: cannot stat /proc/sys/hw/cpufrequency: No such file or directory ssdtPRGen.sh: line 266: let: frequency=: syntax error: operand expected (error token is "=") ssdtPRGen.sh: line 267: let: frequency=( / 1000000): syntax error: operand expected (error token is "/ 1000000)") (standard_in) 1: syntax error ssdtPRGen.sh: line 269: let: turboStates=: syntax error: operand expected (error token is "=") ssdtPRGen.sh: line 47: [: 0: unary operator expected ssdtPRGen.sh: line 76: let: frequency=: syntax error: operand expected (error token is "=") ssdtPRGen.sh: line 77: let: max_ratio=(/100): syntax error: operand expected (error token is "/100)") ssdtPRGen.sh: line 79: [: -gt: unary operator expected ssdtPRGen.sh: line 216: [: 1: unary operator expected Link to comment Share on other sites More sharing options...
Recommended Posts