Compaq Proliant 360/370/380 G1 cpqarray problems with Ubuntu

Or, for that matter, any other Linux distribution that: a. uses kernel 2.6.x up to 2.6.18 b. Does not dynamically create the initrd as part of the installation Ubuntu, for that matter, is an example of not doing both. While it does create the initrd, it doesn’t create it dynamically per the output of ‘lspci‘,…

|

Bash – Variable indirection – Using variable contents as a(nother) variable name

This was a tricky action. Assume I have a list of variables, obtained by an external source: var1=a var2=b var3=c I cannot use loop and in it the phrase ${var$i} (where i is the integer counter). It just doesn’t work. I used this instead to assign the values to an array: var[$i]=$(eval echo "${var${i}}") That…