Source Tivoli environment at boot...

1999-06-07 13:05:36
Subject: Source Tivoli environment at boot...
From: Gord Michaels <gord_michaels AT HOTMAIL DOT COM>
To: nv-l AT lists.tivoli DOT com
Date: Mon, 7 Jun 1999 10:05:36 PDT
Hello All.

I am running AIX 4.3.2 and Framework 3.6 and Netview 5.1.

Whenever my server has to be rebooted, I must source my Tivoli environment
so that I can run the Framework and Netview.

I have to type in ". /etc/Tivoli/setup_env.sh"

I would like to have this done automatically when the AIX box boots up.

I am not a shell script expert, but I think the code to accomplist this
would be something like....

if [ -f /etc/Tivoli/setup_env.sh] ; then
   . /etc/Tivoli/setup_env.sh

However, I am not sure where to place this within the AIX environemt.
Would it be best to edit the /etc/inittab file with a entry for a script,
say, rc.tivoli, and then include this code here?

Is there a better way of doing this?

Any help/info appreciated.



Get Your Private, Free Email at http://www.hotmail.com

<Prev in Thread] Current Thread [Next in Thread>