Hi jelabarre,
got bit yesterday by the same behaviour, and poked around in the script to find the problem. Turns out line 178 seems to be the culprit:
- Code: Select all
if [ "$sys" == "o2k3" -o "$sys" == "o2k7" ]; then
I changed it to:
- Code: Select all
if [ $sys == "o2k3" -o $sys == "o2k7" ]; then
as the if-statement seemed to always evaluate to true, so the $sys-variable got set to "ofc" two lines down the script. I have no idea why this statement should be special as the same syntax is used throughout the script, and does not seem to behave odd there...
Anyways, in my brief test I could not find any problem with the adapted syntax, and I have no time at hand to investigate the odd behaviour, so perhaps it fixes the problem for you too. YMMV.