Dylan wrote:
On Monday 31 March 2003 20:51, Paul Varner wrote:
Dylan wrote:
My question remains tho - why did commenting out those lines make the mouse fail to initialize?
The reason it failed is that an if statement in a shell script needs something to execute. You commented out the only executible clause in the script. If you need to do something like that in the future, the following works:
if (<some condition>) then ; # Commented out code else . . fi
OK, I didn't know that, but I'm still confused as to why the detection and initialization failed.
Because the script had a syntax error. To the shell interpeter that portion of the script now looked like: if (whatever) then else code fi instead of: if (whatever) then code else code fi Regards, Paul