Page 1 of 1

running 2 agents, different version on Linux

Posted: 14 Oct 2013 9:11
by jstarkw
i cannot figure out how to know which agent is access a .bash-profiel. i am trying to put an if clause like this in my .bash_profile.

if agent version 8
then
export PATH=${PATH}:/opt/BMC/controlm/ctm/scripts:/opt/BMC/controlm/ctm/exe
export LD_LIBRARY_PATH=/opt/BMC/contrlom/ctm/exe
export CONTROLM=/opt/BMC/controlm/ctm
else
export PATH=${PATH}:/opt/BMC/ctmag64prod/ctm/scripts:/opt/BMC/ctmag64prod/ctm/exe
export LD_LIBRARY_PATH=/opt/BMC/ctmag64prod/ctm/exe
export CONTROLM=/opt/BMC/ctmag64prod/ctm
fi

How do I resolve "if agent version 8"?

Thanks,

Posted: 15 Oct 2013 6:34
by philmalmaison
Hi,
Can you access the $home from the agent?
So look the $home/installed-version.txt from the agent
Regards
Philmalmaison

Posted: 22 Jan 2014 9:13
by Fifa14Coins
At the cessation of Nintendos E3 columnist conference, abounding had assured that Nintendo Acreage would be arranged with the Wii U, not clashing Wii Sports was included with Nintendos last-gen console. As a accumulating of mini-games, it absolutely seems analogous. Katsuya Eguchi, ambassador of the game, agrees that the allegory is fair, but admits that he doesnt apperceive what the plan is.




---------------------------------------------------------------
Fifa Coins

Posted: 29 Jan 2014 3:44
by hardis
A very unique perspective for your article, I agree with your point of view.I also hope that you are at work is to be able to relax, this is what I recommend to your game!




wow gold